I have 5 pages - for ease lets say:
When I load each indivi
The following works fine
...
...
test.js may contain the following code
// test.js starts here
$('#signupForm').on('pageinit', function(){
// your code goes here
...
...
});
// test.js ends here
In your login form, you may have link for signupForm and data-ajax="false" should be included in href tag that links to signupForm.
Happy Coding
Kuppuram