⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 importjs3_column2.html

📁 Ajax tutorial archive
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
   <head>
      <title>
         Introduction to Ajax Tutorial
      </title>
   </head>
   <body>
   <p class="main">
                  document.getElementsByTagName() and specifying that the tag
                  to obtain is the head tag.
               </p>
               <p class="main">
                  <strong>Line 2:</strong> Next we want to create a script
                  element and we can use the W3C DOM method of
                  document.createElement. We use a variable named setjs, so
                  that we can give it some attributes and then later slot it
                  into the head section of the Web document.
               </p>
               <p class="main">
                  <strong>Line 3:</strong> This line sets an attribute type
                  with a value of text/javascript.
               </p>
               <p class="main">
                  <strong>Line 4:</strong> We put the script tag and its
                  attributes into the head section of the document using
                  appendChild():
               </p>
               <p class="main">
                  <strong>Line 5:</strong> We then want to fill the head
                  section with the script itself, so we push the string of data
                  received from the xmlhttprequest object into the head
                  section.
               </p>
   </body>
</html>

⌨️ 快捷键说明

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