I have tested website and has some javascript errors.
There is in example error like:
1. Jquery is not defined.
Does it mean jquery javascript file is not with correct path (link) to be used if application call it?
2. $("#Mysearchforms1").validate is not a function
What can I do when I receive such error notice. Can be this corrupted syntax of a programming language or some callled function can not be performed as code calls wrong function which is not there?
I have noticed that input has just one field. Is this issue as AJAX validation will check also field which is not there?
In one eaxmple I have more fields. Should be all fields there to overcome such error?
like:
<script type="text/javascript">
$(document).ready(function() {
$("#SearchForm").validate({
rules: {
query: {
required: true
},
myemail: {
required: true,
email: true
}
},
messages: {
query: {
required: "Please enter your name"
},
mymail: {
email: "Email is not validated"
}
}
});
});
</script>