/    Sign up×
Community /Pin to ProfileBookmark

dynamic image display on select

Hi All,

I am a newbie in javascript and thats why again I am here.

What I am trying to do is there will be a single input file box.One selects a image by clicking the browse button and then that image will be displayed below.

and if he selects one again then the 2nd image will also display below…this process will go on till 8 images are selected.

What I was planning to do but dont know the exact syntax that it:
1.get the filename + physical path of the file from the input box
2.display the image in <img src=”value from the input box”>

these 2 things I want to do…..but it will go on till 8.Please suggest me how can i write it in syntax of javascript

Thanks in advance for your co-operation…Raj

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @raj_2006 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...