jquery.visible is not working
<p>I am trying to show the validations notice and error messages in my page .. </p>

<p>In my layout 
i have</p>

 
    
    

<p>and in my helper
 def flash_notice</p>

<pre><code>render(:partial =&gt; 'shared/notice', :object =&gt; flash[:notice]) if flash[:notice]
</code></pre>

<p>end</p>

<p>ANd in my partial</p>

 
  <p></p>
  


<p>&lt;%= javascript_tag "$('notification_message').visualEffect('SlideDown');" %>
&lt;%=
  update_page_tag do |page|
    page.delay(4) do</p>

<pre><code>  if page['notification_message'].visible
    page['notification_message'].visual_effect :slide_up
  end
end
</code></pre>

<p>end
%></p>

<p>where page['notification_message'].visible is showing error while loading..
showign the error as
page['notification_message'].visible is not a function</p>

<p>I have loaded jquery 1.4.js
prototype
still then its not working</p>
