Simple insert_html RJS working in FF not in Safari


Im trying to insert a <tr> into a table. the code is as below.



In my case none of the rjs working with any of the browsers. even the page.alert function please let me know the prob

error msg is

try { } catch (e) { alert('RJS error:\n\n' + e.toString()); alert(''); throw e }


had to insert <tbody> tags for it to work in Safari.