Section B.3. Using text-utils.js


B.3. Using text-utils.js

You can use text-utils.js by adding a <script> tag to the <head> section of your web page's HTML, just like you did with ajax.js:

  <head>     <title>Ajax-powered Coffee Maker</title>     <link rel="stylesheet" type="text/css" href="coffee.css" />     <script type="text/javascript" src="/books/2/850/1/html/2/ajax.js"> </script>     <script type="text/javascript" src="/books/2/850/1/html/2/text-utils.js"> </script>     <script type="text/javascript" src="/books/2/850/1/html/2/coffee.js"> </script> Remember to leave a space between the <script> opening and closing tags, so all browsers  will load your external JavaScript.  </head> 




Head Rush Ajax
Head Rush Ajax (Head First)
ISBN: 0596102259
EAN: 2147483647
Year: 2004
Pages: 241

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net