I have a link with a method type of "Submit", and the Load class applied (to prevent double clicks)
When i try and click this link using jquery i.e.
$( "#wt155_wtMainContent_wtGo" ).click();
the loader appears but the actual link isn't being triggered?
Any ideas how to fix this?
Any errors in the browser console?
No errors - see screenshot attached
Anybody got any ideas on this, would be appreciated?
Since you are using method type 'submit', it will not work. (if you are navigating to another page)A link needs method navigate.
The method type of the link is submit because it points to a local action. Inside the local action there is some logic that is executed and then the last node is a destination node i.e. it goes to another page.
When i use the jquery to "click" this link the action doesn't run. Its because of the Load class, but not sure why this class prevents the click() method from working .