Forum: Ruby on Rails Master-Details with Ajax

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.
0ff7e5d45c4da4a1719efd9c8caaa404?d=identicon&s=25 purplehaze (Guest)
on 2005-12-14 13:46
I have in my rhtml file an master-detail data structur

<ul id="master">
  <li><%= link_to_remote 'aaa', :update=>'details'... %></li>
  <li><%= link_to_remote 'bbb', :update=>'details'... %></li>
  <li><%= link_to_remote 'ccc', :update=>'details'... %></li>
  ...
</ul>

<div id="details"></div>

In details goes show, edit and another actions.
If I update somewhat in details I will be sure that it goes updated in
master too.

Also I put

<script>
new Ajax.Updater('master_item_id', "/organization/get_tree_node/org_id",
{asynchronous:true, evalScripts:true});
</script>

to bottom of my updated detail

In Firefox master-item all works perfect, but IE says 'Unknown
JavaScript Error'

Any Ideas to this problem?
This topic is locked and can not be replied to.