Hi everyone!
I'm tearing my hair out over an RJS problem. I've used it before without issue, but I've no idea what is going wrong here. I'm trying to display a div which starts off invisible defined with:
<div id="block1" style="display: none;">...</div>
In my .rjs I have:
page.call("$('block1').show()")
When I run this, Firefox displays block1 but then gives me two errors:
1. "Type error $("block1").show() is not a function" 2. $("block1").show()()
Any help would be appreciated! Chav