I have recently encountered a problem. I have a script which can be accessed by my OpenCart through an AJAX post. Adds items to shopping cart and adds results to a div. Although I think that the set is different from the reaction which starts to get a response
"success: you & lt; a href ="% s "& gt;% s & lt; / A & gt; your & lt; a href = "% s" & gt; shopping cart & lt; / a & gt;! This is in my response:
{"success": "Success: You've added & lt; A href = "\" Http: \ / \ / mystore.org \ store / indexex.php? Route = product \ / product and product_id = 50 \ ""> apple < \ / A & gt; Your & lt; / A & gt; & Lt; A Href = "\" http: \ / \ / mystore.org \ store / indexEX.php? Route = checkout / cart \ "" & gt; Shopping cart & lt; \ / A & gt; "," Total ":" 3 item (s) - $ 20.99 "} This is my script:
$ (Document) .ready (function () {$ ("# addform") Submit (function () ARTR ("Action"), ARR ("Action"), $ ("#edform"). ), Function (data) {$ ("# result") empty (). SlideDown ("slow"). Attachment (data);}); return back;});}); I am just starting one, if possible please provide the extension.
Thank you very much
you No response received, for receiving estrat ("Action"), $ ("#addform"). Serialize (), function (data) {// Pars Jason reaction data = $ .from SNS (data); / Get the success message with the datasource and add it to the results $ ("# result"). (Slow down). / Code>
No comments:
Post a Comment