Displaying 1 result from an estimated 1 matches for "order_new".
2006 Jul 24
2
BIG JS limit? Using replace_html with partials containing JS
...39;s pretty hard giving a practical example on this one.
I have a partial which contains some generated Javascript.
Something like:
order_screen.rhtml
-------------------------------------------
<h1>Order</h1>
<div id="order_part">
<%=render :partial=>''order_new'' %>
</div>
<h1>Ordered products</h1>
<div id="order_lines_part">
<p>Please finalise the order information first...</p>
</div>
--------------------------------------------
And...
order_edit.rhtml
----------------------------------...