Robert Walker wrote in post #1101305:
> Barry wrote in post #1101300:
>> But for the sake of stupid errors in simple things I'll post jquery
>> code:
>>
>> $('.keyword_links').ready(function(){
>>     var keywords = $('.keyword_links');
>>     function addField(){
>>         alert('True');
>>     }
>>     keywords.bind("click", addField);
>> });
>
> What you show here is not the proper way to use the ready AFAIK.

Forgot to include the documentation reference:

http://api.jquery.com/ready/

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to