Can be changed a picture when an text input onchanged ?
For Example :
<form id="form1" method="post">
<img src="first_pic_ when_page_loade d.gif" id="pic_name" name="pic_name" >
<br>
<br>
Type Correct Image Name And Change Pic : <input type="text" name="image_nam e">
<input type="submit" value="Go">
</form>
In this example it doesn't matter you post form or not ; main issue is when we type an existing file name (such as second_file.gif ) in text box, can first image be chaned and display second_file.gif ??
We can do this by using selct box ; when you select an option, image can be chaned... In this issue, i try it by using text input when it's changed.
Thank u for your time ...
For Example :
<form id="form1" method="post">
<img src="first_pic_ when_page_loade d.gif" id="pic_name" name="pic_name" >
<br>
<br>
Type Correct Image Name And Change Pic : <input type="text" name="image_nam e">
<input type="submit" value="Go">
</form>
In this example it doesn't matter you post form or not ; main issue is when we type an existing file name (such as second_file.gif ) in text box, can first image be chaned and display second_file.gif ??
We can do this by using selct box ; when you select an option, image can be chaned... In this issue, i try it by using text input when it's changed.
Thank u for your time ...
Comment