Displaying 1 result from an estimated 1 matches for "showpopwin".
2008 Jul 10
0
JavaScript Form Submit with form_remote_tag
...my code:
<%=
form_remote_tag(
:url=> { :controller=>''store'', :action=>''add_to_cart_ajax'', :id =>
@product.id, :variation => @variations[i].id },
:html => {:name => ''add_product_form''},
:complete => "showPopWin(''/store/show_cart'', 600, 400, null,
true)",
:failure => ''alert("That item appears to have gone out of stock
before you were able to add it to your cart.\n\nPlease refresh this
page.")'',
:update => ''items''
)
%>...