Skip to main content

Bug Tracker

Side navigation

Ticket #5313: jquery_form_test.html
File jquery_form_test.html, 0.9 KB (added by edelgadom, September 30, 2009 08:38PM UTC)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

	<title>Form selector + IE</title>
	<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
	<script type="text/javascript" charset="utf-8">
	   $(document).ready(function(){
	       $("form").change(function(){
	           $("#log").append("<p>The form has changed</p>");
	       });
       });
	</script>
	
</head>
<body>
    <form action="" method="get" accept-charset="utf-8">
        <select name="some_name">
            <option value="option1">option1</option>
            <option value="option2">option2</option>
        </select>
    </form>
    <div id="log"></div>
</body>
</html>

Download in other formats:

Original Format