Hello,
Anyone knows how to do a dynamic href destination based on a input value?
I have a form that allows user to pick a picture (that shows a thumb preview presentation)...I'd like to do href to that picture in order to show it in full screen when clicked..
I'm stuck on the dynamic reference to the href destination...
>> the input I'd like to refer:
<input type="file" name="picField" id="picField" onchange="preview(this)" size="10" >
>> the href:
<a href="javascript: form.picField.value" rel="lightbox" title=""><img src="spacer.gif" alt="Preview da imagem" name="previewField" border="0" id="previewField"></a>






Bookmarks