i’m trying to go through the second edition of Agile Web D.
With Rails and i’m stuck on a small problem that’s driving me crazy.

I’m trying to use the following code…“div#notice”).each { |div| div.hide }

to hide the div tag on my page with an id of notice

I’ve verified that the div tag does exist on the page by viewing the
source, and i’ve gotten all the other javascript thus far to work, so i
don’t think it’s a browser issue.

Any help would be greatly appreciated.



This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs