I am trying to create a next button which will be triggered to change a section in a single tab. Steps I am using: 1st I need to get the url of the current tab and apply if condition to that url to check whether I should go to next section or not. If true then I will use the id in that url along with triggerClick
event idtriggerClick
Code:
var currentURL = window.location.href;
if(currentURL =="http://localhost/xyz/store?id=7"){
id.trigger('click') //Now how to move onto the next section after an event is triggered.
}
else