472,958 Members | 1,974 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,958 software developers and data experts.

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 1381

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

Similar topics

2
by: Adam Smith | last post by:
I am developing a Form to be used for data input into a database. To limit errors in fields I want to input some data using "<SELECT NAME=xxxxx> <OPTIONS VALUE=yyyyy> <OPTIONS VAL........> ..........
4
by: Therese A. Sorna | last post by:
Hello all... I am using Access 2002, and am trying to find a way for a user to be able to select multiple entries from a drop-down list. I am hoping that given a list as such: a b c d
3
by: Stephen Adam | last post by:
Hi there, I'm sure i'm missing something really simple here, all i want to do is get the value of the selected item in a list box. Even after much fiddling about last night I still could not get...
0
by: Baiju | last post by:
Hello We have a web application which has a page to select value from three drop down lists. The first list box is populated when the page is loaded. The second one is loaded based on the...
2
by: Ren | last post by:
Hi all, I am a bit new to PHP and SQL so this may seem like a dumb question. I have already created a drop down list as part of a form which is automatically populated with values taken from a...
6
by: nasirmajor | last post by:
Dear all, a simple quetion as usual I have a html select list. e.g <select class="text" name="bmonth" runat="server" id="bmonth"> <option selected="selected" value="0"></option> <option...
0
by: Mike | last post by:
Hello, Is there a way to configure a drop down list of bookmarks so that, when selected, the browser links to that bookmark without reloading the page? Thanks, Mike
3
by: maminx | last post by:
I have this script... var td = document.createElement('td'); var p = document.createElement('p'); var label = document.createElement('label'); var span =...
5
by: dmj07 | last post by:
Hi all, I would like to know a way to add a label to an update panel by using a drop down list selected item. For example: There is a list of items in a drop down list, the user selects one...
1
by: slickuser | last post by:
Hi, How can I get the selected value from the drop down menu list inside the GridView command when the user click updated button on that row? Thanks. <asp:BoundField DataField="NAME"...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.