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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gman united
    New Member
    • Dec 2010
    • 1

    #1

    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=bla ck " +
    "onClick=\"sele ctRowItem(this, " +i+ ");showProfile( " + i + ")\" ><td nowrap align=center id='scope_id" +
    i + "' onClick=\"MenuH ighlight("+i+") \">" +
    "<input class='Display' style=\"cursor: hand;Width:51px ;Height:20px;te xt-align:center\" type=\"text\" size=5 maxlength=6 " +
    "onBlur=\"setCh anges(this.pare ntNode,'i'," +i+ ",this.parentNo de.firstChild.v alue,null)\" value=\"" +
    top.arrBD[i].line_item_code + "\"></td><td nowrap id='scope_name" + i +
    "' onClick=\"MenuH ighlight("+i+") \">" +
    "<input class='Display' style=\"cursor: hand;Width:239p x;Height:20px;t ext-align:left\" type=\"text\" size=30 maxlength=60 " +
    "onBlur=\"setCh anges(this.pare ntNode,'d'," +i+ ",this.parentNo de.firstChild.v alue,null)\" value=\"" +
    top.arrBD[i].line_item_desc + "\"></td><td align=right id='scope_qty" + i +
    "' onClick=\"MenuH ighlight("+i+") \">" +
    "<input class='Display' style=\"Width:3 6px;Height:20px ;text-align:right\" onfocus=\"this. blur()\" type=\"text\" size=3 maxlength=3 value=\"" +
    top.arrBD[i].revised_quanti ty + "\"></td><td align=right id='scope_amt" + i +
    "' onClick=\"MenuH ighlight("+i+") \">" +
    "<input class='Display' style=\"Width:1 04px;Height:20p x;text-align:right\" onfocus=\"this. blur()\" type=\"text\" size=15 maxlength=15 value=\"" +
    showCurrency(to p.arrBD[i].revised_fta_am ount) + "\"></td><td align=right id='scope_cost" + i +
    "' onClick=\"MenuH ighlight("+i+") \">" +
    "<input class='Display' style=\"Width:1 04px;Height:20p x;text-align:right\" onfocus=\"this. blur()\" type=\"text\" size=15 maxlength=15 value=\"" +
    showCurrency(to p.arrBD[i].revised_gross_ cost) + "\"></td></tr>";

    Thanks for the help!!!
Working...