Sharagoz -- wrote:
> page['search_field'].value = ''
> 
> Replace 'search_field' with the actual ID of your search field

Hi Sharagoz

Thanks a million. Obvious... My brain is getting to old for this stuff.

Would it be possible to set other specific attributes of DOM elements in 
the same way?

eg would

page['id_of_element'].enabled = false

work?

thanks again
-- 
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