Ruby on Rails Sunday, February 27, 2011



On Mon, Feb 28, 2011 at 6:48 AM, Mauro <mrsanna1@gmail.com> wrote:
Do you use ajax live searching?
With rails 2 I had used observe_field.
Now in rails 3 with unobtrusive javascript it can be used jquery and
onkeyup event, but I don't like keyup, on every key I press there is a
database search, it's too expensive.
What solutions do you adopt?


I use this jquery plugin plus ajax.

 
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.




--
-------------------------------------------------------------
visit my blog at http://jimlabs.heroku.com

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment