auto execute form

B

Brian Quigley

Hi,

is there some code i can use to automatically execute some HTML form code
when a page is loaded ?

Thanks,

Brian
 
R

Ray at

Execute it in what way? Do you mean submit the form? Using client side
code, you could do:

<script language="javascript">
document.nameOfForm.submit();
</script>

Ray at home
 
A

Adrienne

Execute it in what way? Do you mean submit the form? Using client
side code, you could do:

<script language="javascript"> document.nameOfForm.submit(); </script>

Ray at home

Should be: <script type="text/javascript">

Also, will not work for non js users.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,258
Messages
2,571,033
Members
48,768
Latest member
first4landlord

Latest Threads

Top