Forum: Ruby on Rails Ajax.Updater and IE problem

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ahmet K. (Guest)
on 2009-01-26 09:23
This is my  search.erb code:
-----------------------------
   1. <div class="form-button"><%= submit_tag('search',
:onclick=>'show_wait()')%></div>
   2. <% end -%>
   3. <div id="wall" style="display:none;"><div id="wait">
   4.   <script type="text/javascript">
   5.     new Ajax.Updater("wait", "<%= url_for :controller => :util,
:action => :searching %>",
   6.       {parameters: "authenticity_token=" + encodeURIComponent(<%=
form_authenticity_token.to_json %>),
   7.         asyncronous: true, evalScripts: true });
   8.   </script>
   9. </div></div>

And this is my searching.erb
----------------------------
   1. <center>
   2. <br/>
   3. <img src="/images/loading.gif" alt="Loading"/>
   4. <br/>
   5. please wait
   6. <br/>
   7. </center>

util_controller  class
----------------------------
   1.  def searching
   2.     render :layout => false
   3.   end

and the last search.js
-------------------------
   1. function show_wait()
   2. {
   3.     window.scroll(0,0);
   4.     var wait_window_margin_height = 10;
   5.     var wait_window_margin_width = 20;
   6.     $('wall').style.width = getBrowserWidth() + "px";
   7.     $('wall').style.height = getBrowserHeight() + "px";
   8.     $('wait').style.top = wait_window_margin_height + "px";
   9.     $('wait').style.height = getBrowserHeight() -
(wait_window_margin_height * 2) + "px";
  10.     $('wait').style.left = wait_window_margin_width + "px";
  11.     $('wait').style.width = getBrowserWidth() -
(wait_window_margin_width * 2) + "px";
  12.     $('wall').show();
  13. }
  14.
  15. function hide_wait()
  16. {
  17.     $('wall').hide();
  18. }

this program is working properly with firefox and opera but
It is not working on IE.
where is my mistake or problem?
did I forget something???
please help me!

PS: I posted this question a couple of days on another forum, but no
reply no anything. Please help me about this problem...
This topic is locked and can not be replied to.