search for: inserthtml

Displaying 2 results from an estimated 2 matches for "inserthtml".

Did you mean: insert_html
2006 Jul 03
6
Rjs $("aaa").insertHtml is not a function error
...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(":productsTable",{}); } catch (e) { alert(''RJS error:\n\n'' + e.toString()); alert(''$(\"productsTable\").insertHtml({\"partial\": \"entryProduct\"});\nnew...
2006 May 28
1
RJS template / page.insert_html problem
...!! On a sidenote: I read about this before on this list, so I state it again. page[:xxx] construct isn''t working uniformly for me. While page[:xxx].replace_html, works fine page[:xxx].insert_html :before "blabla" pops up a javascript error message saying that $("xxx").insertHtml is not a valid function I think handling of [] operator should be uniform over all those methods cheers Martin