Forum: Ruby on Rails RJS DOM element properties

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.
Abb249055208c7af4d35568e422dfd63?d=identicon&s=25 Guest (Guest)
on 2007-05-10 20:08
Is there an easy way to check if a certain DOM element is visible using

This code doesn't work:'li.class').each do |item|
 if == 'none'
   # Do something here...


Thank you for any help.
This topic is locked and can not be replied to.