Using the “Venkman” JavaScript debugger for Mozilla and getting the following error:
XML Parsing Error: not well-formed
Location: x-jsd:source?location=http%3A%2F%2F192.168.1.150%2Fscript.js&instance=337
Line Number 557, Column 50:<line><margin x='t'> - </margin><num> 554</num> �� valid = false;</line>
Functions works but I don't understand the error.
Any help is appreciated. Thanks.
function ValidateCheckBoxes()
{
var valid;
$(document).ready(function(){
if($('input[@name=boxesA]:checked').size() == 0)
{
valid = false;
}
else
{
valid = true;
}
});
return valid;
}