I load jquery and ajaxform plugin and after that init ajaxform on element.
<script src=".11.2/jquery.min.js"></script>
<script type="text/javascript" src=".form.js" /></script>
<script src="script.js"></script>
script.js
$(document).ready(function() {
$('.form').ajaxForm();
});
Error: $(...).ajaxForm is not a function
.
It appears on this site.
I load jquery and ajaxform plugin and after that init ajaxform on element.
<script src="https://ajax.googleapis./ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script type="text/javascript" src="http://malsup.github./jquery.form.js" /></script>
<script src="script.js"></script>
script.js
$(document).ready(function() {
$('.form').ajaxForm();
});
Error: $(...).ajaxForm is not a function
.
It appears on this site.
1 Answer
Reset to default 3Github isn't a CDN and will block you trying to use it as such.
jquery.form.js
is available on numerous proper CDN's or you can download it and serve from your own site