Displaying 1 result from an estimated 1 matches for "nvendor".
Did you mean:
vendor
2008 Dec 31
0
replace_html problem
...le'', :partial => ''product''
end[/code]
I''m getting most of the page back, but the table is messed up, showing
with a lot of \n\n characters (the javascript just shows up on the
screen):
try { Element.update("prod_table", "
\n\n
\n \nProduct 1 \nVendor 1\n
\n \nProduct 2 \nVendor 2\n
\n \nProduct 3 \nVendor 3\n
..
\n\n
"); } catch(e){ alert(''RJS error:\n\n'' + e.toString());
alert(''Element.update(\"prod_table\",\"
\\n
\\n\\n
... and then the whole table again as a long string (it renders the
err...