2 functions

L

led

<form METHOD="POST" action="uploadscript3.asp" name="fp1" onsubmit="return
checkCheckBoxes(this);">

it was nice to call another function also
 
D

David Berry

You could separate them with a semi-colon, such as

<form METHOD="POST" action="uploadscript3.asp" name="fp1" onsubmit="return
checkCheckBoxes(this); myFunction();">

or why not just add a call to the second function inside of the first (at
the end of the function)? Ex:

function checkCheckBoxes() {

........ your code

myFunction();
}
 
L

led

thanks
David Berry said:
You could separate them with a semi-colon, such as

<form METHOD="POST" action="uploadscript3.asp" name="fp1" onsubmit="return
checkCheckBoxes(this); myFunction();">

or why not just add a call to the second function inside of the first (at
the end of the function)? Ex:

function checkCheckBoxes() {

....... your code

myFunction();
}
 

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

Top