Javascript to show in other page

Posted by Irwan on Stack Overflow See other posts from Stack Overflow or by Irwan
Published on 2010-04-26T05:58:06Z Indexed on 2010/04/26 6:03 UTC
Read the original article Hit count: 285

Filed under:
|

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

© Stack Overflow or respective owner

Related posts about notification

Related posts about JavaScript