Hi guys,
I have a really weird problem. I’m creating some fields dynamically with Javascript using document.createElement.
Each control has it’s id and name set.
After this script is run, with PHP I try to populate the newly created fields. I’m creating the fields FROM php, I just do an echo of the javascript function that creates the elements for me. And like I said all this is done before populating the fields.
Problem is that when I try to reference these newly created items, javascript complains that they don’t exist.
Viewing the source code of the web page actually doesn’t show the dynamically created items.
Any one have any idea of why this is happening or of a solution to this?
Thanks!