Why does this:
<%= update_page_tag do |page|
page["femenino"].hide
end %>
Generates this?
<script type="text/javascript">
//<![CDATA[
try {
$("femenino").hide();
} catch (e) { alert('RJS error:\n\n' + e.toString()); alert('$(\"femenino\").hide();'); throw e }
//]]>
</script>
I have the DIV with ID "femenino", the update_page_tag is located after the DIV and it works but I dont like to look at that error in the source code.
Thanks