当我包含以下js文件(在其中的
jquery),我得到错误在Firebug“
XML不能是整个程序”
JS文件包含参考:
<script src="~/Scripts/scriptname.js" type="text/javascript"></script>
$("[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()) });
提前致谢!