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

Contents of /www/test/html/form/event/submit-submit-reset.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>submit() Method Followed by reset() Method in submit Event</title>
5 </head>
6 <body>
7 <h1><code>submit()</code> Followed by
8 <code>reset()</code> Method in <code>submit</code> Event</h1>
9
10 <form method="get" action="submit-submit-reset"
11 onsubmit="
12 submit ();
13 reset ();
14 alert ('Submitted?');
15 return false;
16 ">
17
18 <pre>
19 onsubmit="
20 submit ();
21 reset ();
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" value="Submit"></p>
30
31 </form>
32
33 </body>
34 </html>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24