internet explorer - jQuery 1.4 change event bug in IE -
i have simple select:
<select name="zlecenia_index_icpp" id="items_per_page"> <option value="10">10</option> <option value="25" selected="selected">25</option> <option value="50">50</option> </select>
and on there's:
$('#items_per_page').change(function(){ var controller_action = this.name.replace(/_/g, '/'); location.href = config.base_url + '/' + controller_action + '/'+this.value; });
it used work in jquery 1.3, in 1.4 change event fired click on select box. there solution besides going 1.3?
this seems bug , has been reported jquery:
http://dev.jquery.com/ticket/5869
there has been patch applied , part of jquery 1.4.1.
http://github.com/jquery/jquery/commit/435772e29b4ac4ccfdefbc4045d43f714e153381
here's fix bug: http://github.com/mcurry/jquery/commit/a293f5938eb9efd41158b948f487672d43b7c820
hopefully it'll 1.4.1
Comments
Post a Comment