473,782 Members | 2,542 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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

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

Similar topics

2
4361
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........> ....... </SELECT>". The problem is that some of the menu lists to be presented are very large for a single drop down menu, 400 - 500 entries. I can break them up into shorter menus according to alphabetical ordering but can I use several "<SELECT...
4
17631
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
26332
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 my code to work. Below is some code which highlights my problem. All I want to do is set the lable control's text property to the value of the selected drop down list value - in this example i've shown the three ways i've tried. Please help!
0
974
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 selection of the first one after submitting the pageand so on.. The issue if I select a value in the first list box and try to change it in a second the browser freezes. Any help in this ? Thank you
2
4558
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 separate database. When a user goes onto this page and either leaves the default value or selects a value from the drop down list and presses the submit button, I would like that selected value to be stored into a database which I have already...
6
1771
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 value="1">January</option> <option value="2">February</option> <option value="3">March</option> <option value="4">April</option>
0
889
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
2558
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 = document.createElement('span'); var theData = document.createTextNode('Chart Of Account'); var theSelect = document.createElement('select'); theSelect.setAttribute('name', 'items'); var opCol = document.createElement('option');
5
1945
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 then presses the add button next to it and it creates a label in a table next to it. Here is the code I have at the moment:
1
2335
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" HeaderText="NAME" /> <asp:TemplateField HeaderText="Age">
0
9479
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10080
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9942
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8967
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7492
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6733
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5509
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4043
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3639
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.