Do not cancel the default action for the click event with the statement
return false;
Try to remove that line from your code.
Mauricio
-----Mensagem Original-----
De: "Johny" <[EMAIL PROTECTED]>
Para: "jQuery (English)" <jquery-en@googlegroups.com>
Enviada em: terça-feira, 4 de novembro de 2008 14:49
Assunto: [jQuery] How to solve this
I have a form
<form method="post" action="MyURL" enctype="multipart/form-data">
<input type="hidden" name="token" value="12"/>
<p><input type="submit" value="Go"></p>
</form>
The form uploads a large file so that I would like to inform a user to
wait, after he pushes the submit button.
So I have
...
...
$('[EMAIL PROTECTED]').click(function() {
$('#InformUserText').show();
return false;
});
....
....
The text ( see InformUserText) is shown but the action script from the
form, see MyURL, is not called.
Can you please help how to say to a user that he should wait and the
script is running?
Thank you
Lad.