468,720 Members | 1,884 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,720 developers. It's quick & easy.

Rendering dynamic html table problem from a drop down list in IE-7

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!!!
Dec 28 '10 #1
0 1315

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Adam Smith | last post: by
4 posts views Thread by Therese A. Sorna | last post: by
3 posts views Thread by Stephen Adam | last post: by
6 posts views Thread by nasirmajor | last post: by
1 post views Thread by CARIGAR | last post: by
1 post views Thread by Oskars | last post: by
9 posts views Thread by bryonone | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.