run a javascript function on if statement
Posted
by user295189
on Stack Overflow
See other posts from Stack Overflow
or by user295189
Published on 2010-06-16T21:26:48Z
Indexed on
2010/06/16
21:32 UTC
Read the original article
Hit count: 362
I am using php conditions and want to know if I can run a javascript funtion without some one have to click on it using javascript.
so
if($value == 1)
{
javascript to run the function
}
how would I do that
thanks
© Stack Overflow or respective owner