Click to See Complete Forum and Search --> : on page open submit hidden form


davej
12-11-2003, 03:28 PM
Hi all
I am pretty new to javascript and have not been able to find a way to do this. I am trying to have a form with hiden form fields submit on page open. so far I have found scripts that validate froms on submit and scripts that redirect on page open but have not been able to figure this out. any help would be great.
thanx dave

David Harrison
12-11-2003, 05:06 PM
This should work:

<body onload="document.form_name.submit();">