Bug Tracker

Ticket #5705: ticket5705.html

File ticket5705.html, 532 bytes (added by chvconst, 12 years ago)
Line 
1<!doctype html public "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2<html><head><title></title>
3<script language="javascript" src="jquery-1.4a2.min.js"></script>
4<script>
5$(document).ready(function(){
6$('form').submit(function(event){
7$('#place').html('submit override fired!');
8return false;
9});
10
11});
12</script>
13</head>
14<body>
15<form action="test.cgi" method="get">
16<input type="test" id="test" name="test" value="123"/>
17<button type="submit">submit</button><br/>
18</form>
19<div id="place"></div>
20</body>
21</html>