jQuery and CSS loading into DIV
My question is, why am I losing the ability to capture the values of the form fields when CSS repositions them.
My problem is as follows:
- function loadAuthors() {
- $("#authors-list").load("authors_get.php");
- }
authors_get.php has form elements in <input fields> it.
If I post the page on first load, all the form elements submit.
If I apply CSS to the page and float the element to a new location, the value of the authors-list is no longer captured in my post.
Work around is to create a hidden form field that is updated onchange of the select list. But in another instance, I have a list of form fields that are dynamically generated, so I can't create hidden fields for them as I never know how many there will be.
Thanks.
Jason Buck