Sign up now to view this solution! It's quick, easy, and secure to subscribe. We will return you to this solution, unlocked, when you’re done.
Hi,
I've got the following situation:
In PL/SQL (Oracle) i build up a dynamic webpage with X forms (all called the same, which causes JavaScript to build an array, true?). I need to loop through all the forms and submit them (or some of them)..
Should the following work? :
<SCRIPT LANGUAGE=Javascript>
<!--
function submit()
{
for ( var i=0, n=document.cell.length; i<n; i++ )
{
document.cell[i].submit
}
}
//-->
</SCRIPT>
(Cell being the same of the form(s))
('Submit' will call an Oracle procedure, pass in the fields and update the database)
'submit' is called from a button on the buttom of the page.
If not, whats the best way to loop through all the forms and submit them? (Keep in mind it could be 1 form, and it could be 1000, so it needs to be dynamic).
Cheers,
Rune
Sign up now to view this solution! It's quick, easy, and secure to subscribe. We will return you to this solution, unlocked, when you’re done.
Posted on 2000-06-07 at 10:44:16ID: 28112080
All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.