phutte,

>A little testsite for any interested:
>http://socken.se/temporary.jquery.googlegroups/
>the files index.php + ./myexlauncher/secretmenu.php is probably the
>files of interest. There is no folders hidden in this temporary
>version, and no security what-so-ever, so please handle with care.
>Click on the strawberry for the blockUI-form, which is going to become
>an loginform (hopefully)
>../peace ya'll (<--hip hop)

If you really won't to "reload" the page, then just use a normal form post.
There's no reason to even use AJAX in this case.

Just do a normal form post and then use the following to remove the blockUI:

// add an event to run when the page unloads
$(window).unload(
        function (){
                // remove the UI block, so that pressing the BACK button
                // will allow you to use the page again
                $.unblockUI();
        }
);

For what you're attempting to do, AJAX is overkill. 

For example of posting to a form that block's the UI and then unblocks the
UI when the next page is loaded, check out this example:

http://www.pengoworks.com/workshop/jquery_demo/ex6.1_blockui.cfm

This simulates a search that takes 5 seconds to respond (I think that's the
amount of time I wait before I return the page results.) 

-Dan

Reply via email to