Javascript:无效的字符错误

时间:2016-06-02 04:37:53

标签: javascript

在我的.cshtml页面中,我有JavaScript功能,它工作正常,但显示的错误如Invalid Character。这是我的代码快照:

enter image description here

请帮帮我。没有得到错误的地方。

1 个答案:

答案 0 :(得分:-3)

请像这样使用: 。 Please click here for details documentation on Jquery.com

var jqxhr = $.post( "example.php", function() {
  alert( "success" );
})
  .done(function() {
    alert( "second success" );
  })
  .fail(function() {
    alert( "error" );
  })
  .always(function() {
    alert( "finished" );
});
相关问题