我低于script
-
<head>
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
</head>
<script type="text/javascript">
$(document).ready(function () {
$('.error-load').hide();
$('#imgLoading').hide();
$("#BtnLoadMore").click(function () {
$(this).hide();
var lastArticleId = $('#hdnLastArticle').val();
var sortOrder = $('#<%= hdnSortValue.ClientID %>').val();
alert(sortOrder);
$('#imgLoading').show();
$.ajax({
type: "POST",
contentType: "application/json; charset=utf-8",
data: '{"RowId":"' + lastArticleId + '", "SortOrder":"' +sortOrder + '"}',
url: "http://blogs-test.com/themes/blogs/vitalvotes/LoadService.aspx/GetNextData",
dataType: "json",
success: RenderPagedData,
error: function (response) {
$('.error-load').show();
$('#imgLoading').hide();
}
});
});
$("#btnMostRecent").click(function(){
alert("clicked");
});
});
</script>
当我在其中运行页面时console
,Firefox
它显示以下内容err
-
SyntaxError: 非法字符 $("#btnMostRecent").click(function(){
我错过了什么..?
请提前帮助和感谢..!