Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Create input element and POST DATA empty?

Reply
Thread Tools

Create input element and POST DATA empty?

 
 
Atlas
Guest
Posts: n/a
 
      11-19-2004
Hi everybody.

I working on a page which have a table with some rows.
Some buttons let me to add some news line to the table dynamicly which
contains some inputs box and combo box.
In fact, I clone a line and all of these input element in another new
one row using the cloneNode method.
After that, i fetch all the new element in order to change their name to
new one.

But here's my problem: When i field the input form (the old one, and the
new one), just the OLD ONE are send in the POSTDATA when i submit my form...
I have understand that's because all my new element have, as parents,
their cells and not the form node. But if i use the "form" as parents,
it's ok, all the data are send in the POST but they are not display in
the cell....

I know that i can build a form when i press on the submit button which
contains all the values of my input box and combo box in new hidden
ones.. But i think i can do better

Can you help me please?

Thx. Have a good day! (or night)
 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to Update/insert an xml element's text----> (<element>text</element>) HANM XML 2 01-29-2008 03:31 PM
getting javascript-generated input element values with POST (php) Ben Brown Javascript 2 01-25-2008 10:56 PM
problem: create element in create element Iulian Ilea Javascript 4 12-17-2006 12:00 PM
Post post post. Shel-hed Computer Support 2 11-08-2003 07:41 AM
How to create HIDDEN Input element using DOM Raghuram Banda Javascript 1 11-05-2003 06:08 PM



Advertisments