Skip to content Skip to sidebar Skip to footer

Chrome Removes Form Element When Using Jquery Ajax

I am returning some simple HTML markup in a JSON response from an action. Here is the full response (linebreaks added for readability): { 'Success':true, 'Conte

Solution 1:

Chrome removes form element if it is already surrounded by another form element. Also, ASP .Net renders form tag for all pages it servers, as a result Chrome is stripping off the form tag in data.Content. I don't think IE or firefox behaves this way.

Edit: Hope you will find this useful, How do you overcome the html form nesting limitation?

Post a Comment for "Chrome Removes Form Element When Using Jquery Ajax"