I seen, i can't still use onload, but pageinit, i tried to use it.... :
At the first load of the page, it's ok (the function is called), but when i click on a button with http-link, the function isn't called again.
where i must put code with pageinit, for the javascript function be called at any load of the page?
- $( document ).delegate("#PageId", "pageinit", function() {
- refresh_content();
- } ) ;
and also where for the function refresh_content() ? in the <head> after call of jquery and jquery.mobile ?