Sign up form ajax calling


#1

Hello,

I am trying to redirect to a template file after an Ajax call using: NB This is for a sign up form.

window.location.href = “templates/somepage.html”;

It goes to the page, however, on that page, the buttons won’t load properly and the JavaScript won’t get called when I click the buttons. I probably need some sort of callback because index.html needs to get called as well as templates/somepage.html.

Any help on this would be great

Note i am new Ionic framework. I am using it as friend i work suggested we use it to make the app we are currently working on. I would prefer a non-jquery solution. Thanks.