Hey guys!
I developed some control widgets using javscript and DOM. One such widget put a textbox and a button onto a form. When the button is clicked, a popup appears with a color cube to select from. After the user selects a color, the hex value is written to the textbox’s value attribute, and the textbox background and foreground set to the same color so that the text is not visible, just the color. This all works fine, but when I submit the form, none of the color text data is in the POST array.
Is this due to the fact that the text boxes are added to the DOM/form dynamically?
If this is so, is there a way around it?
I mean, surely anything you add dynamically to the form that has a value, should be in the POST array, right?
Any help greatly appreciated.
Merlin!