Friday, 9 August 2013

Jquery use php var and pause

Jquery use php var and pause

My php page has at the top of the page before any jquery a php variable
called $pause. The value assigned to this is read from a database.
What I'm trying to do using jquery is show a div, then delay for the
$pause value then hide the div.
This shows and hides the div, how do I add the delay ?
$("#div1").show();
$("#div1").hide();
Thanks

No comments:

Post a Comment