There is no gurantee that the form will actually be submitted after
submitHandler is called. So the cleanup is necessary for future
submits of the same form.

Could you show your full code? I suspect the actual issue is elsewhere.

Jörn

On Tue, Aug 18, 2009 at 2:14 PM, L.Ours.POlaiR<lourspol...@banquiz.net> wrote:
>
> system :
>
> JQuery : 1.3.1
> Validate plugins 1.5.5
>
> #########################################
>
> problem : form validation with <button> under chrome(test under chrome
> 3.x and chrome 4.0.201.1)
> the button value is not sent to POST or GET
>
>
>
> solution :
> change line 70
> ######################################################################
> if (validator.submitButton){
>        // and clean up afterwards; thanks to no-block-scope, hidden can be
> referenced
>        hidden.remove();
> }
> ######################################################################
>
> by this
>
> ######################################################################
> if (validator.submitButton) {
>        // and clean up afterwards; thanks to no-block-scope, hidden can be
> referenced
>        // hidden.remove();
> }
> ######################################################################
>
>
>
> I think the problem become from Chrome JS engine, which "jump" the
> validator.settings.submitHandler.call action.
> Why did you remove hidden input ? just for cleaning a form which
> already sent ?
>
> thanks for supporting.
> Cordialy,
> L.Ours.POlaiR | Creabilis
>
>
>

Reply via email to