I have a problem. I have a page with a default avatar image and a input box below it. Its a form. The thing i want to do is that, i want the default avatar image replaced after a user selects a image from the input tag.
my code is some like this.
<img src="image\default.jpg">
<input type="file" name="select">
Is there a method using javascipt or any other language.