We have a classic asp site. The last index value from the dropdown list get populated first. selecting each dropdown value creates dynamic html table. It works fine when it loads for the first time but it kick me out from the site if I select the last indext agin in the dropdown list. It even works fine for other indexes. And this problem is only on IE-7.
Sample code:
strHTML += "<tr class='Display' nowrap id='row_scope" + i + "' bordercolor=black " +
"onClick=\"selectRowItem(this," +i+ ");showProfile(" + i + ")\" ><td nowrap align=center id='scope_id" +
i + "' onClick=\"MenuHighlight("+i+")\">" +
"<input class='Display' style=\"cursor:hand;Width:51px;Height:20px;text-align:center\" type=\"text\" size=5 maxlength=6 " +
"onBlur=\"setChanges(this.parentNode,'i'," +i+ ",this.parentNode.firstChild.value,null)\" value=\"" +
top.arrBD[i].line_item_code + "\"></td><td nowrap id='scope_name" + i +
"' onClick=\"MenuHighlight("+i+")\">" +
"<input class='Display' style=\"cursor:hand;Width:239px;Height:20px;text-align:left\" type=\"text\" size=30 maxlength=60 " +
"onBlur=\"setChanges(this.parentNode,'d'," +i+ ",this.parentNode.firstChild.value,null)\" value=\"" +
top.arrBD[i].line_item_desc + "\"></td><td align=right id='scope_qty" + i +
"' onClick=\"MenuHighlight("+i+")\">" +
"<input class='Display' style=\"Width:36px;Height:20px;text-align:right\" onfocus=\"this.blur()\" type=\"text\" size=3 maxlength=3 value=\"" +
top.arrBD[i].revised_quantity + "\"></td><td align=right id='scope_amt" + i +
"' onClick=\"MenuHighlight("+i+")\">" +
"<input class='Display' style=\"Width:104px;Height:20px;text-align:right\" onfocus=\"this.blur()\" type=\"text\" size=15 maxlength=15 value=\"" +
showCurrency(top.arrBD[i].revised_fta_amount) + "\"></td><td align=right id='scope_cost" + i +
"' onClick=\"MenuHighlight("+i+")\">" +
"<input class='Display' style=\"Width:104px;Height:20px;text-align:right\" onfocus=\"this.blur()\" type=\"text\" size=15 maxlength=15 value=\"" +
showCurrency(top.arrBD[i].revised_gross_cost) + "\"></td></tr>";
Thanks for the help!!!