JobsSummaryRetriever.js
上传用户:z100004
上传日期:2020-03-27
资源大小:1084k
文件大小:1k
源码类别:

TAPI编程

开发平台:

Visual Basic

  1. // Copyright (c) 2008, The Code Project. All rights reserved.
  2. function RetrieveJobsSummary(divName, objectId, objectTypeId, countryId, attributesList) {
  3.     var elm = $("div[id=" + divName + "]");
  4.     if (elm&&elm.length > 0) {
  5.         var queryString = "/Script/Jobs/Ajax/GetRelatedJobs.aspx?";
  6.         queryString += "objId="    + objectId;
  7.         queryString += "&typeId="  + objectTypeId;
  8.         queryString += "&cntrId="  + countryId;
  9.         queryString += "&atrList=" + attributesList;
  10.         queryString += "&r=" + Math.random().toString();
  11.         $(elm).load(queryString);
  12.     }
  13. }