[ruby-it] UJS

stb stb a stb3.com
Ven 1 Dic 2006 17:50:04 CET


niente sono un' idiota non avevo messo function nella dichiarazione :P

----- Original Message ----- 
From: "david" <david.palm a iperbole.bologna.it>
To: "ruby-it" <ml a lists.unbit.it>
Sent: Friday, December 01, 2006 5:31 PM
Subject: Re: [ruby-it] UJS


>
>   forse "testJS()" va in errore e tace... niente nella js console?
>   stb wrote:
>
> Ciao,
>
> sto implementando UJS nella mia applicazione ma non riesco a richiamare 
> una fun
> zione presente in un mio file .js
>
> nel controller ho messo
> apply_behaviour 'div#map', "testJS()"
>
> e non funziona, mentre questa funziona:
> apply_behaviour 'div#map', "alert('')"
>
> da cosa puņ dipendere?
>
> Saluti Andrea
> _______________________________________________
> Ml mailing list
> [1]Ml a lists.ruby-it.org
> [2]http://lists.ruby-it.org/mailman/listinfo/ml
>
>
>
> --
> "Remember, always be yourself. Unless you suck." - Joss Whedon
>
> References
>
>   1. mailto:Ml a lists.ruby-it.org
>   2. http://lists.ruby-it.org/mailman/listinfo/ml
> _______________________________________________
> Ml mailing list
> Ml a lists.ruby-it.org
> http://lists.ruby-it.org/mailman/listinfo/ml 



Maggiori informazioni sulla lista Ml