Topic: Conflict with jquery unobtrusive ajax after updating to version 5.0.0
Scss seems to compile fine to css (I see the new style). But whenever we submit a form, we get an error (see screenshot). We use data-ajax (we use jquery unobtrusive ajax) attributes.
This worked fine before the upgrade to 5.0.0, but now seems to conflict with jQuery unobtrusive ajax. Whenever we add this data-ajax attribute, we get this error.
Could you explain why this conflict suddenly appears? I can't find anything in the changelog that could cause this. And Is there a way around this?
<form id="getForm" action="@Url.Action("Get")" data-ajax="true"></form>
<script>
$(document).ready(function () {
$('#getForm').submit();
});
</script>
mlazaru staff answered 2 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 5.0.0
- Device: PC
- Browser: Firefox
- OS: Windows 11
- Provided sample code: No
- Provided link: No