Working on dropdown list using jquery
Hi All,
I have implemented asp.net dropdownlist and upon its selected index change event i am filling other drop down lists.
below is my code in which when i am passing value to this.val = '71' or any other integer value data is getting changed
however if i retrieve same value from database and passing to it to this.val = '71' data doesn't get changed in other drop down list... Means selection index changed event does not occurr.
Why this is so ????
- $("#TEMPLATENAME1_dropdownlist_TEMPLATENAME1").combobox({selected: function(event, ui) {
if ($(this).val() == '71') {
$("#Step_TN1_FIELD1").show('fast');
$("#title_TN1_FIELD1").text('Left View Field 1*: ');
$("#title_TN1_FIELD1").removeClass().addClass('MandatoryFldCaption');
$("#TN1_FIELD1_dropdownlist_TN1_FIELD1").removeClass().addClass('EnabledControl');
$("#FIELD1_dropdownlist_TN1_FIELD1").removeAttr("disabled");
$("#TN1_FIELD1_dropdownlist_TN1_FIELD1").html("");