Jquery.form AjaxSubmit adding tags to response?

I'm guessing you're using this jQuery Form Plugin Its API states.

I'm guessing you're using this jQuery Form Plugin. Its API states: Note: You can pass any of the standard $. Ajax options to ajaxForm Have you tried passing it the dataType option?

Like this: form. AjaxSubmit({ dataType: 'text', success: function(data){ alert(data); } }).

I tried to pass the dataType parameter, but with the same result unfortunatly. – Emil Oct 13 at 14:59.

The problem was that jquery. Form doesn't expect to receive plaintext, it expects either JSON, XML, HTML or Script. So I solved this by sending JSON-data from the serverside, and specifying that JSON was the expected format at the clientside.Form.

AjaxSubmit( {dataType: 'json', success: function(data) { alert(data) }).

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions