Forum: Ruby on Rails A missing piece in Prototype helpers

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Sergei S. (Guest)
on 2006-04-01 07:10

I wanted to use select helper to provide a parameter for a function call
and could not make it work.

I wanted to do this: 'Field.activate','#customer_form .edit-form
div.fieldWithErrors input').first

and ended up writing pure Javascript:

	page << 'Field.activate($$("#customer_form .edit-form
div.fieldWithErrors input").first());'

If someone can figure out the way to get it to work without << operator,
please post.
This topic is locked and can not be replied to.