I'm using the UI tabs and some of the server-side content within the divs which comprise the content for the tabs causes a page postback. When this tabs, the user always lands back on the default/first tab. How do I prevent this?
<script type="text/javascript"> $(function() { $("#tabs").tabs(); }); </script> <div id="tabs"> <ul> <li><a href="#tabs-1">Submit an IMF</a></li> <li><a href="#tabs-2">VA Disabilities</a></li> <li><a href="#tabs-3">Borrower Complaints</a></li> </ul> <div id="tabs-1">server-side content</div> <div id="tabs-2">server-side content</div> <div id="tabs-3">server-side content</div> </div> I tried this but didn't work $('#tabs').tabs({ select: function(event, ui) { var isValid = false return isValid; } Thanks });
-- You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to jquery...@googlegroups.com. To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en.