Using jquery to click() a link with Load style applied

Using jquery to click() a link with Load style applied


Hi all, 

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?



Hi Tom,

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. 

You could create an link with css 'display : none;" applied to it. When you click on the button with type submit , run some javascript or jQuery to click on the hidden link with method navigate. Or u could use Widget_Click action available when referincing to it.


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 .