> I just found the jQuery group and joined. I absolutely jQuery 
> after discovering the Thickbox. I need some help with this 
> task. I have an asp.net page for uploading photos. I want to 
> show a preview of the image once i have browsed for and 
> selected the image using the file input. How can get the 
> value of the file input? I then want to pass this value to 
> the src of an image. I assume this is possible.

Given this file input element:

<input id="test" type="file" />

You can write this code:

alert( $('#test').val() );

-Mike

Reply via email to