Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trying to update a complete Table row <TR> using AJAX

Status
Not open for further replies.

buba0418

Programmer
Apr 18, 2007
6
US
I am new to AJAX and JavaScript.

I think I understand the concept of AJAX,

I currently have a database update page that takes a long time to
work with due to reloading the whole page with every click.
So in walks AJAX.

The basic description is..
there is a update form to update crossconnect information between
racks.
The number of hops could be a variable between 2 and ?
( so the form is different with every crossconnect. )
Each Row has
Position number (1,2,3,4 etc)
Cabinet Type ( CustomerEndPoint, MainDistributionFrame, etc)
FootPrint CONSISTINGO OF ( Location,Site,Row and RackId)
PatchPanel Type and PanelId
PatchPanel Slot
Number of Ports being used for this hop
The actual hops being used

To get the correct data for each dropdown,
The previous column data is required.

so for each change of a select item, the row should update.
I got it to work for FireFox and Safari, But keep getting JS errors
when I run IE7 on it.
What am I doing wrong or am i not using the innerHTML tag correctly.

I have unlocked the authentication for the time being so you can look
at the test code
to view the test code use link


Thank you for any help you can supply.
 
You are setting the innerHTML of a table row - this isn't well supported, AFAIK.

You could use the methods to build a table as documented here, such as "insertCell":


Hope this helps,
Dan

Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top