Am 10.05.2012 um 14:07 schrieb Frederick Cheung:
Thanks Fred..
great..
>
>
> $.get 'search', {query: $('#query').val() }, (data) ->
> ...
>
> would pass the value of the field with id query (and since this code
> is being called from the change event handler attached to the text
> field, you can shorten that slightly to $(this).val() instead of $
> ('#query').val()
>
Werner Laude
[email protected]
--
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 [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-talk?hl=en.