Go Back   CodingForums.com > :: Client side development > JavaScript programming > Ajax and Design

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-09-2007, 12:06 AM   PM User | #1
mansour77
New to the CF scene

 
Join Date: Jul 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
mansour77 is an unknown quantity at this point
How to embed elements in a from before POSTING

I am trying to write an ajax code that will take the whole row from a table an put it in a form element then submit that form. The problem is I am not able to get the correct inputs when I use getElementByID ('row_id') and do a clone for that row. The values in the inputs in the ROW are the default when the page was loaded. Can any one give me a tip on this?
mansour77 is offline   Reply With Quote
Old 07-10-2007, 01:15 AM   PM User | #2
A1ien51
Senior Coder

 
A1ien51's Avatar
 
Join Date: Jun 2002
Location: Between DC and Baltimore In a Cave
Posts: 2,717
Thanks: 1
Thanked 94 Times in 88 Posts
A1ien51 will become famous soon enough
Why are you cloning the row?

Ajax has nothing to do with DOM, it deals with talking to the server through the XMLHttpRequest object. Are you actually using that?

Eric
__________________
Tech Author [Ajax In Action, JavaScript: Visual Blueprint]
A1ien51 is offline   Reply With Quote
Old 07-11-2007, 02:56 AM   PM User | #3
mansour77
New to the CF scene

 
Join Date: Jul 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
mansour77 is an unknown quantity at this point
Yes Eric, I am doing this. But the problem is the modified inputs are not reflected in the DOM element I am getting. Ho you know why ?
mansour77 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:52 AM.


Advertisement
Log in to turn off these ads.