I have code:
[code=php] <form name=”d” action=”http://”>
<textarea name=”whatever”> jhj </textarea>
<img src=”image1.gif” onclick=”this.form.reset();” /> <noscript> <input type=”reset”/> </noscript> </form> [/code]
I do not know why it does not perform reset all fields?
You should ask this in the PHP forum.[/QUOTE]
[code=php] tags does not mean it's PHP. :) This is, in fact, a HTML issue; or, more likely, a JavaScript issue.
<i> </i><form name="d" [color=red]id="d"[/color] action="http://"> <textarea name="whatever"> jhj </textarea> <i> </i> <img src="image1.gif" [color=red]onclick="d.reset();"[/color] alt="reset"> <noscript> <input type="reset"/> </noscript> </form>
Help @toplisek spread the word by sharing this article on Twitter...