hi,
My requirement is i have to upload photos into my blog , so i have used
<input type="file">.
like that i can upload 5 files.
after selecting one file then select another link should be displayed ,on clicking the link again a window to select a file is to be appear. like that for upto 5 photos.
how to do that .
How to get a window to select file when click on link
Moderator: General Moderators
-
syamswaroop
- Forum Newbie
- Posts: 19
- Joined: Fri May 01, 2009 1:31 am
Re: How to get a window to select file when click on link
Javascript is probably the best way of doing that. Look up some javascript tutorials or someone here might be able to tell you how.syamswaroop wrote:hi,
My requirement is i have to upload photos into my blog , so i have used
<input type="file">.
like that i can upload 5 files.
after selecting one file then select another link should be displayed ,on clicking the link again a window to select a file is to be appear. like that for upto 5 photos.
how to do that .
Re: How to get a window to select file when click on link
You'll want to look into createElement() and appendChild().