Displaying 1 result from an estimated 1 matches for "entryproduct".
2006 Jul 03
6
Rjs $("aaa").insertHtml is not a function error
...nk like this
<%= link_to_remote ("Add
#{image_tag(''add.png'')}",:url=>{:action=>''addProduct''})%>
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
tr...