For me jQuery feels much better. It's like Ruby, where prototype is like Java. Validation is very powerful and easy with http://docs.jquery.com/Plugins/Validation
To use jQuery in rails it is only needed to load script rails.js from already mentioned project. Do not see compelling reasons for myself to use prototyp :( Cheers, Dima. On 01/12/2010, at 20:49, chris hulbert <[email protected]> wrote: > For what it's worth, i ended up stumbling upon http://livevalidation.com/ > - its brilliant! > Very simple, works with prototype nicely, and all round perfect for > the job. Too happy with it. > Cheers all, looks like i'll be sticking with prototype for now. > > On Dec 1, 1:48 pm, chris hulbert <[email protected]> wrote: >> Well, i'd prefer jquery, because that's what i'm familiar with (use it >> at work). >> So do i simply have to install the following plugin and it'll all just >> work with the rails helpers?https://github.com/rails/jquery-ujs >> Also, can anyone recommend a JS validation library? >> >> On Dec 1, 8:55 am, Julio Cesar Ody <[email protected]> wrote: >> >> >> >> >> >> >> >>> Does it matter that much if you're using Rails' helpers? (legit question) >> >>> If you weren't, I'd say give both a go and pick the one with the API >>> you like best. They're both excellent, well maintained libs. >> >>> On Wednesday, December 1, 2010, chris hulbert <[email protected]> >>> wrote: >>>> Hi all, >>>> I've just started building a new rails app, and have hit the stage >>>> where i want to start with some javascript form validation. >>>> I'm just wondering, do more people use jquery or prototype these days? >>>> Is it an easy thing to switch to jquery or does it affect all the >>>> rails helpers? >>>> Also, do i lose scriptaculous's effects if i go jquery? >>>> Or should i just stick with prototype. >>>> Cheers all! >> >>>> -- >>>> You received this message because you are subscribed to the Google Groups >>>> "Ruby or Rails Oceania" 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 >>>> athttp://groups.google.com/group/rails-oceania?hl=en. >> >>> --http://awesomebydesign.com > > -- > You received this message because you are subscribed to the Google Groups > "Ruby or Rails Oceania" 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/rails-oceania?hl=en. > -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" 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/rails-oceania?hl=en.
