Run a JavaScript function from a php 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:42 UTC
Read the original article
Hit count: 130
php
|JavaScript
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:
if($value == 1)
{
javascript to run the function
}
How would I do that?
© Stack Overflow or respective owner