/[suikacvs]/www/test/html/form/event/submit-reset-submit.html
Suika

Contents of /www/test/html/form/event/submit-reset-submit.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Mon Jul 18 02:24:33 2005 UTC (21 years, 4 months ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/html
New tests

1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <title>reset() Method Followed by submit() Method in submit Event</title>
5 </head>
6 <body>
7 <h1><code>reset()</code> Followed by
8 <code>submit()</code> Method in <code>submit</code> Event</h1>
9
10 <form method="get" action="submit-reset-submit"
11 onsubmit="
12 reset ();
13 submit ();
14 alert ('Submitted?');
15 return false;
16 ">
17
18 <pre>
19 onsubmit="
20 reset ();
21 submit ();
22 alert ('Submitted?');
23 return false;
24 "
25 </pre>
26
27 <p><input type="text" name="text1" value=""></p>
28
29 <p><input type="submit" name="Submit"></p>
30
31 </form>
32
33 </body>
34 </html>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24