Problem in using JQuery in IE6 for dynamic content selection
i am having 开发者_运维百科problem to get value selected in select Element in which options are added dynamically using JQuery's html() in IE6 , but it works in IE8.
var column = $('#cmbSearch0')[0].value;
Since id is unique you can do something like this.
Try
var column = $('#cmbSearch0').val();
does the following work?
var column = $('#cmbSearch0').options[0].value;
精彩评论