Hi,
I figured out a workaround for the bug. Yes, it still exists in Safari
2.04.
Workaround:
Instead of using the aliased version of Form.serialize, e.g. $
('myform').serialize(true);, you must use it like this:
Form.serialize('myform', true);
And that does it.
On May 2, 5:20 am, "zio budda" <[EMAIL PROTECTED]> wrote:
> Hi all. I have this little JS Code (the alert is for debug):
>
> alert("4");
> var page = "/admin/registrazioneUtente.php";
> alert("5");
> var pars = $('datiutente').serialize();
> alert("3");
> SHEEBOO_ajax(page,pars,'SHEEBOO_inviaDatiRegistrazioneAjax');
> alert("2");
>
> 'datiutente' is the "id" of a form.
>
> When run in IE and FF all is ok. When run in Safari (2.0.4) JavaScript
> stop to work at line
>
> var pars = $('datiutente').serialize();
>
> I use prototype 1.5.0.
>
> There is some problem with safari and prototype and Form.serialize() ?
>
> Tnx.
>
> --
> Michel 'ZioBudda' Morelli [EMAIL PROTECTED]
> Consulenza sistemistica in ambito OpenSource.
> Sviluppo applicazioni web dinamiche (LAMP+Ajax)
> Telefono: +39-3939890025 -- Fax: +39-0291390660
>
> http://www.ziobudda.net ICQ:
> 58351764http://www.ziobuddalabs.it Skype:
> zio_buddahttp://www.ajaxblog.it MSN: [EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---