"Unexpected call to method or property access " error

"Unexpected call to method or property access " error

Hi, I am pretty new to Jquery. And I got this error with IE 11. I attached the code causing the error, but I didn't see anything wrong since I used like this before. And I tried Chrome which gave no error but no data.  Basically, I am using script to get data though web service. And I believe the code on the backend is correct since I can get the data. Please help me out.  Thanks

  1. <script type="text/javascript">
  2.     (function () {
  3.         PageConfig = {
  4.             GetPositionDetails: HS.BaseController.PositionUrl + "GetPositionDetails"
  5.         }
  6.         HS.PositionListView = {
  7.             init: function () {
  8.                 $("#btnSave").bind("click", function () {
  9.                     art.dialog.close();
  10.                 });

  11.             },

  12.             onPageLoad: function () {
  13.                 var config = {
  14.                     url: PageConfig.GetPositionDetails,
  15.                     data: { Code: art.dialog.data("Code") },
  16.                     success: function (data) {
  17.                         var obj = data.Data;
  18.                         $("#txtPosCode").html(obj.Code);
  19.                     }
  20.                 }
  21.                 HS.DataTransmission.getdata(config);
  22.             }
  23.         };

  24.         HS.apply(HS.PositionListView, HS.PageBase);
  25.         HS.PositionListView.load();
  26.     })()
  27. </script>