A little explanation of what Im trying to do. Say a user on a particular site has an image as their avatar. Now when they edit their profile they have the option to change that image.
Is it possible to call the Browse dialog (so they can choose a new local file to use as their avatar) without using the "Browse" input button? Ideally they would be able to click the existing image and that would act as the Browse button.
Is there a way to call that Browse action without using a form and input button?
Thanks in advance for any insight.
02-19-2007, 03:27 PM
Have you had any luck with this solution?
I too am having similar problems....
02-19-2007, 04:08 PM
why don't you want to do this in the first place? is it just for aesthetics?
if it is there are lots of ways to do it..
how about having a pop-up division that display the browse dialog?
02-19-2007, 06:51 PM
Thanks for the reply....But can you please suggest with some sample code....
this is what i'm doing...
document.getElementById('imgxyz').src = document.getElementById('test').value;