skip to Main Content

Get a form ID from html response of an ajax call (jQuery)

The following is my ajax $.ajax({ url: formUrl, complete :function(){ $("#formContainer").removeClass("some-class"); }, success: function(response){ $("#formContainer").html(response); initFunctionOne(); initFunctionTwo(); initFunctionThree(); } }); } 'response' contains respective html forms in string format depending on what screen is being loaded. Is there any way…

VIEW QUESTION
Back To Top
Search