Load several js function from the same jquery file unto several html pages
at different intervals of my choice
I have one main.js file with several functions (such as ajax calls and
page-function based) that I need to load on different intervals and
different pages. My problem is that $(document).ready(function(){}); loads
everything at once.
I know in jqm I can use .on ('pageinit', "pagename", event(){});
Is there something similar to jquery? I'd like to keep one .js file for
all my js functions in my web-app.
Thanks much.
No comments:
Post a Comment