Stuart,
Is the form submitted via normal browser invocation or via ajax?
Also, it would be immensely helpful if you could put together a simple
html page (ignore the server component) that demonstrates the problem.
Mike
On 4/23/07, Stuart Batty <[EMAIL PROTECTED]> wrote:
Mike, I don't immediately see any way to post a sample page since the
application is a intranet java webapp running on Tomcat using MyFaces. I
could possibly post the compiled output from the .jsp but I fear that may
mask the original problem. I could probably work around the odd modal
alignment issue in IE 6 if I could get the form to submit. Here's the
function I'm using to bind blockUI to the onclick event:
[code]
$("#myForm :submit").click( function() {
$.blockUI.defaults.elementMessage = "Please Wait...";
$.extend(
$.blockUI.defaults.elementMessageCSS, {
color: '#00a',
backgroundColor: '#fff',
border: '2px solid #2f4f4f'
}
);
$("#myForm").block();
return true;
} );
[/code]
There are two submit buttons on the form; Save and Submit, that I want to
apply the block to onclick. On form submit the appropriate java method is
executed and the form is re-displayed with a message confirming the action.
One other thing I've noticed is that when one clicks a submit button in IE
it seems to take several seconds for the iframe to appear where in FF it is
instantaneous. If you can think of any test methods I can employ please let
me know. Your plugin does exactly what I need to do but I must support IE.
malsup wrote:
>
>
> Stuart,
>
> Can you post a sample page?
>
> Mike
>
>
--
View this message in context:
http://www.nabble.com/blockUI-plugin-blocking-form-submit-on-IE-6---7-tf3620149s15494.html#a10142260
Sent from the JQuery mailing list archive at Nabble.com.