I have two functions on buttons onclick, they work but if the first
fails the second still runs. How can I prevent this? Simplified Code
below. Thanks
Function Function1 () {
if (something) {
return false
}
Function Function2 () {
if (something) {
return false
}
onclick="Functi on1(); Function2()"
fails the second still runs. How can I prevent this? Simplified Code
below. Thanks
Function Function1 () {
if (something) {
return false
}
Function Function2 () {
if (something) {
return false
}
onclick="Functi on1(); Function2()"
Comment