shodhan
2005-Aug-16 09:19 UTC
Browser Compatiblity problems when using update_element_function
Hi
I have a javascript tag inside a partial whcih empties a DOM Element.
<%= javascript_tag(update_element_function(("frm"+(item.id).to_s),
:action => :empty)) if (actionName=="ajax_update") %>
actionName is a local that has been passed through the controller and
frm+(item.id) is the id of the element to be emptied
the wierd thing is that the DOM removal element action works very well
in IE but does NOT create the same effect in firefox.
Please help
thanks in advance
shodhan