Msan Msan wrote:
> Ok to not depend on a specific javascript framework but now its' hard
> for me to reproduce the same behavior of some helpers like
> observe_field.
> I've found some jquery examples but all use the event change that is
> triggered only when the text field loses focus.
> It's not the same behavior as observe_field.
> There is someone in the same situation?

Unobtrusive JavaScript and JavaScript agnosticism are really two 
separate and unrelated issues.

Unobtrusive JavaScript is the "new hotness" because from a design 
standpoint it makes a lot of sense. From what I can gather it seems that 
most developers are trending away from the built-in helpers and doing 
more with pure JavaScript.

I've not worked with Rails 3's unobtrusive JavaScript to know the issues 
involved. Bu, I do use unobtrusive techniques wherever possible, which 
seems to be pretty much everywhere.
-- 
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 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.

Reply via email to