Forum Moderators: open
I know that I can get the data from the iframe because is I alert the data returned from a function in the iframe it alerts the right data, it just seams to be unable to send that data?
//Example:, the usercd variable is essentially a
// <input type=hidden tag
var usercd = parent.user.getUserCodes(); //get the data from a function in the iframe
document.getElementById("hiddenvars").innerHTML=usercd;
document.user_info.submit();
...
<form method="get" action="savedata.jsp" name="user_info" id="formname">
<tr>
<td id="hiddenvars" colspan="3">
<!-- insert updated code in here-->
</td>
</tr>
I found the solution.
I put the <form> tag out side of the <tr> element instead of outside the <table> element, I.E. understood this but FF's strict parsing of the page meant that it didn't send the data!
To answer your question in any case: no, I just store all input tag data and every thing inside the single string that the getUserCodes function returns.