写了一段代码:
<script type="text/javascript" language=javascript>
$(function () { $(bclick).click(AjAX)})
function AjAX() {
$.ajax({
type: "post",
url: "Handler1.ashx",
success: function (msg) { alert(msg) }
})
}
</script>
<body>
<form id="form1" runat="server">
<input id=bclick type="button" value="button" />
</form>
</body>
点击button时提示bclick没定义,bclick明明已经定义了??
料青山看我应如是