Reputation: 11
If the button returns true, it will call the href url. But if I submit just few seconds before timeout, the jqmShow() freezes and won't go forward and returns none. How to trigger timeout during this?
JSP:
<s:a id="confirm" href="%{finaliseURL}" title="Submit" cssClass="button">Ok</s:a>
JavaScript:
("#confirm").click(function () {
$('#jqmFinalise').jqmShow();
return true;
});
Upvotes: 0
Views: 65