Hello,

sorry for posting again, but I just start with prototype and therefore
have some problems with it...

The following code works in Firefox, but not in IE6:
<div id="container">
</div>
<script language="javascript" type="text/javascript">
var table = document.createElement('table');
Element.extend(table);
var row = document.createElement('tr');
Element.extend(row);
row.update ("<th>Hello!<\/th>");
table.update (row);
table.update ("<tr><th>Hallo!</th></tr>");
$('container').insert({bottom:table});
</script>

When I change row.update ("<th>Hello!</th>") to row.update ("Hello!")
it also works in IE6. table.update ("<tr><th>Hallo!</th></tr>") also
works... What is wrong?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to