I am loading partial view through ajax call html(). I can see response
has <form>
tag in chrome javascript debug. But when it loads to source it is disappearing. I can rest of the html except tag.
I am loading under another tag. I don't know what is the issue here?
var HandleGetEditPhone = function (response) {
if (response !== "") {
$('#DivPhoneContainer').html(response);
}
}
You should check if you are nesting form elements, since chrome removes nested form tags.
related to your question:
Chrome removes form element when using jQuery ajax
How do you overcome the html form nesting limitation?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With