When I include the following js file (with jquery in it), I get the error in Firebug "XML can't be the whole program"
JS file include reference:
<script src="~/Scripts/scriptname.js" type="text/javascript"></script>
JS file contents:
$("[id*='txtAddress1S']")
.blur(function(){
$("[id*='txtAddress1S']")
.val().match(
/\b[p]*(ost)*\.*\s*[o|0]*(ffice)*\.*\s*b[o|0]x\b/i)&&
(alert("Packages are not deliverable to a Post Office Box.
\nPlease provide a different shipping address."),
$("[id*='txtAddress1S']").focus())
});
Thanks in advance!