Javascript to show in other page
- by Irwan
I have index.php to auto refresh div with jquery (sucess)
function jin_ajax_loop() {
// url and target
jin_ajax_req('inbox.php','div_test');
}
< body
< div id="div_test" < /div
< /body
and then inbox.php to show notification:
im using snotify from http://www.gayadesign.com/diy/snotify-easy-notifications-in-jquery/
'---------------------------------------------------------------------------------------
< script type='text/javascript' src='js/jquery.min.js'< /script"
< script src="js/sNotify.js" type="text/javascript"< /script
< script type="text/javascript"
sNotify.addToQueue("Test");
< /script
'---------------------------------------------------------------------------------------
And I want to show this notification sNotify.addToQueue("Test") in index.php
Ho I do?
Thanks