Displaying 1 result from an estimated 1 matches for "_entryproduct".
Did you mean:
entryproduct
2006 Jul 03
6
Rjs $("aaa").insertHtml is not a function error
...uct''})%>
and in my controller
def addProduct
..................
render :update do |page|
page[:productsTable].insert_html :partial=>"entryProduct"
page.visual_effect :highlight,'':productsTable''
end
end
entryProduct partial is in _entryProduct.rhtml
If I use replace_html instead of insert_Html it works fine. I don''t
know exactly what I''m doing wrong.
The response reported by Firebug is
try {
$("productsTable").insertHtml({"partial": "entryProduct"});
new Effect.Highlight(":products...