input fields are not posted
I have the following structure using modal divs:
<form name="form1">
<input type="test1" />
<div id="modal-div">
<input type="test2" />
</div>
</form>
When I post the form with document.form1.submit(); only test1 is
submitted? the input field test2 inside the modal-div is not posted.
Any ideas how to solw this in a neat way?
If I set test1 with the value in test2 before I submit the form I get
the value but thats not really a good looking solution.
I can't use another structure like a frame inside the modal div...