📜  如何在类型脚本中读取网页 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:25.301000             🧑  作者: Mango

代码示例1
$(document).ready(function() {

  var workspaceId = '2';

  $.ajax('http://azurejupyterredirect.net/home/workspace/' + workspaceId)
    .then(
      function(url) {
        window.open(url);
      });

});