<title>Sample</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<script type="text/javascript" src="jquery-1.4.2.min.js">
</script>
</head>
<body>
<select onchange="alert('hi')">
<option value="0" selected="selected">Option1</option>
<option value="1">Option1</option>
<option value="2">Option1</option>
</select>
<script>
$('select').bind('change',function(){
var a ="true";
})
</script>
In Firefox alert is getting called only once
In IE7/8 alert is coming twice. Just wondering why in IE alert is coming twice
Thanks, Amit