nested in my other form tag. I copied and pasted in code for paging
from the table sorter plugin and never removed the form tag from the
example. Once I removed that it worked great. Thanks for your
response. I have to say that this is one of the best maintained boards
and software projects I have worked with. I have gotten some fast
responses here and appreciate everyone's help. JQuery is really cool!
Jonathan
On Jan 1, 10:18 pm, Mike Alsup <mal...@gmail.com> wrote:
> > I'm using the form plugin and the most recent version of blockUI.
>
> > Here's my form initialization area:
>
> > $(document).ready(function() {
> > var options = {
> > target: '#search_results', // target element(s) to
> > be updated with server response
> > beforeSubmit: showRequest, // pre-submit callback
> > success: showResponse // post-submit callback
>
> > };
>
> > // bind to the form's submit event
> > $('#search_form').submit(function() {
> > $.blockUI();
> > $(this).ajaxSubmit(options);
> > return false;
> > });
> > });
>
> > And then here is my post submit callback function
>
> > // post-submit callback
> > function showResponse(responseText, statusText) {
>
> > // add sorter.
> > $("#myTable").tablesorter({sortList:[[0,0],[2,1]], widgets:
> > ['zebra']});
> > $("#options").tablesorter({sortList: [[0,0]], headers: { 3:{sorter:
> > false}, 4:{sorter: false}}});
>
> > // add pager.
> > $("#myTable").tablesorterPager({container: $("#pager")});
> > $("#pager").show();
>
> > $.unblockUI();
> > }
>
> > All this works ok in Firefox but in IE, blockUI does not unblock. I
> > don't get any javascript errors and it seems like the call should go
> > through ok. Any ideas?
>
> Is all the other code in the "showResponse" function executing? Can
> you provide a link? I put together a quick test which seems to work
> fine:
>
> http://www.malsup.com/jquery/block/ie7-form-test.html
>
> Mike
No comments:
Post a Comment