Click to See Complete Forum and Search --> : 1 script to launch another


tinmanIII
07-13-2003, 04:44 PM
i have a script which does a comparison
if (result > 0.08)
then relays a message to user if rule is met

but i would like it to launch a new script which currently launches with onclick
<input type=button onClick="shake(2)" value="run now">

my trial an error has resulted in only erors :o)

can someone help me to get the if statement to launch "shake(2)"
?
thanx

David Harrison
07-13-2003, 04:59 PM
How's this:

if(result>0.08){shake(2);}

tinmanIII
07-13-2003, 05:10 PM
thanx a lot lavalamp
it works
:o)
i almost had that hehe except i kept the quotes in and added extra brackets :o)

thanx again

David Harrison
07-13-2003, 05:11 PM
Happy to help.:)