Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jul 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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?

  • #2
    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
    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]

  • #3
    New to the CF scene
    Join Date
    Jul 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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 ?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •