jQuery Ajax FormPlugin: Grab Ajax Response -
I am using to handle my Ajax submission, like.
// submit the form new user $ ('# setAdminUser'). Ajaxform ({submit before: validate form, success: auxaeusuits}); // Ajax breakthrough callback function ajaxSuccess () {// process here // div, create my Ajax call var str = '' str + = '& lt; Div id = "recordCreated" & gt; Str + = '& lt; H2 & gt; Record '+ Data +' D & lt; / H2 & gt; 'Str + =' & lt; / Div> Add $ HAL (ARR)} div to $ $ ($ # user address) on the page. What am I going to do, take feedback data from my AJAX call, so I can use it in ajaxSuccess, as the sgiwb
is it to gain the same? Many thanks in the form of the parameters of the function you can add the answer:
Excerpt from
function ajaxSuccess (response) {// here response use}
Success : The callback function has been applied after the form. If 'success' callback function is provided, then it is applied after returning the response to the server. This response text has been passed or response XML value (based on the value of the datatype option).
Comments
Post a Comment