2013-04-01, 10:11 AM
Hi.
This is my another question again
As the title :
- How could I use jQuery submit instead of using <input> in MyBB ?
For example, with the Inline moderation (my code)
When I click to "Go" button, it show up me an error message : "Sorry, but you did not select any threads to perform inline moderation on, or your previous moderation session has expired (Automatically after 1 hour of inactivity). Please select some threads and try again."
Althought, I've selected threads/posts already.
Anyone know how to fix ? Which parameters I need to posts on submit (I'm using jQuery to submit form) ?
This is my another question again
As the title :
- How could I use jQuery submit instead of using <input> in MyBB ?
$("form").submit();
For example, with the Inline moderation (my code)
<form method="post" action="moderation.php">
....
<a class="ui-button button2" id="inline_go" onclick="$("form").submit();"><span><span>Go</span></span></a>
<a class="ui-button button2" onclick="javascript:inlineModeration.clearChecked();"><span><span>Clear</span></span></a>
....
</form>
When I click to "Go" button, it show up me an error message : "Sorry, but you did not select any threads to perform inline moderation on, or your previous moderation session has expired (Automatically after 1 hour of inactivity). Please select some threads and try again."
Althought, I've selected threads/posts already.
Anyone know how to fix ? Which parameters I need to posts on submit (I'm using jQuery to submit form) ?