importjs2_column2.html

来自「Ajax tutorial archive」· HTML 代码 · 共 31 行

HTML
31
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
   <head>
      <title>
         Introduction to Ajax Tutorial
      </title>
   </head>
   <body>
 	   <p class="main">
                  In that example, we are loading in a separate JavaScript file
                  named alert.js through the xmlhttprequest object. The
                  alert.js file looks like this:
               </p>
               <p class="code">
                  function showAlert() {<br />
                  alert(&#39;hi there, I was loaded externally&#39;);<br />
                  }
               </p>
               <p class="main">
                  It is just a simple alert contained within a function. The
                  guts of the procedure is contained I the importjs.js file so
                  let us look at that in more detail. In particular we are
                  interested in the load_js case:
               </p>
               <p class="main">
                  We will take a look at that function on the next page.
               </p>
   </body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?