The easiest way is to submit ajax to the form. Something like this will do:
$("form").submit(function() {
$.post();
return false;
});
If you are not allowed to use Ajax, you can pass the tab information to the URL:
<div id="fragment-1">
<p>Form 1</p>
<form method="post" action="?tab=1">
<input type="text" value="">
<input type="submit" value="Save Changes" />
</form>
</div>
:
$("#tabs").tabs("select", tab);
- this, javascript.