Hi all,
After an update that I have received on my laptop for IE7 on last week, i see an issue with the drop downs in the application that I am supporting. Here is the description of this.
If I select any option after 250322 options, it is not returning the selected index value. It is simply giving me the error message that "this object doesnt support this property or method". This code has worked fine until before I have applied the upgrade. Is it because there is any limit on the options that a drop down can display?
Here is the code snippet where I am getting this error.
var obj=document.getElementById(listBoxID);
var tempText=obj.options[obj.selectedIndex].text;
listboxid is a variable.
Any suggestions on this will be greatly appreciated?
After an update that I have received on my laptop for IE7 on last week, i see an issue with the drop downs in the application that I am supporting. Here is the description of this.
If I select any option after 250322 options, it is not returning the selected index value. It is simply giving me the error message that "this object doesnt support this property or method". This code has worked fine until before I have applied the upgrade. Is it because there is any limit on the options that a drop down can display?
Here is the code snippet where I am getting this error.
var obj=document.getElementById(listBoxID);
var tempText=obj.options[obj.selectedIndex].text;
listboxid is a variable.
Any suggestions on this will be greatly appreciated?