Skip to content Skip to sidebar Skip to footer

Button Not Working In Multi-page Application

I have created 2 buttons. The second button should go to NewFile.html but it isn't working. my index.html main file consist of div tag inside it created 2 buttons and with id For

Solution 1:

There are all sort of issues, but the main ones are the following:

  1. In nextMethod() You are trying to load NewFile.html into the ID of your button. That won't work: $("#ForNext").load("pages/NewFile.html", function(){

It needs to be loaded into the pagePort DIV. Replace "ForNext" with "pagePort".

  1. In bba= WL.Client.getEnvironmen();, you are missing the "t" in ".getEnvironment".

Post a Comment for "Button Not Working In Multi-page Application"