HTML Basic setup to use jQuery


/ Published in: HTML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  4. <title>HTML for Basic jQuery Setup</title>
  5.  
  6.  
  7. <!-- The next line is a reference the core jQuery script file -->
  8. <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
  9.  
  10. <!-- If you want to use any jQuery Plugins, reference the additional scripts and/or CSS files below this-->
  11.  
  12.  
  13.  
  14.  
  15. <!-- The following block is an empty template to setup your jQuery Plugins -->
  16. <script type="text/javascript">
  17. $(document).ready(function(){
  18. /* OK, you can now initiate your jQuery plugins */
  19.  
  20.  
  21. /* no more jQuery after this */
  22. });
  23.  
  24.  
  25. </head>
  26.  
  27.  
  28.  
  29.  
  30. </body>
  31. </html>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.