View RSS Feed

JavaScript & Ajax

  1. Updating a JavaScript to be XHTML compliant

    As a webmaster you've undoubtedly noticed the increasing shift in coding practices from HTML to XHTML on the web. If you're a professional web designer, you've probably even heard it first hand from your clients who demand their web pages be XHTML compliant. I get quite a lot of emails on a monthly basis asking for help in making a webpage that contains a DHTML script to be XHTML compliant. A common misconception is that this is a difficult process, which can be no further from the truth.
    ...
  2. Using Google to host your jQuery (or other) JavaScript libraries

    A growing number of scripts here on DD utilize the popular jQuery JavaScript library as its backbone, which means at the top of these scripts you'll see a reference such as:

    Code:
    <script type="text/javascript" src="jquery-1.2.6.pack.js"></script>
    which obviously requires you to download and host "jquery-1.2.6.pack.js" locally on your server. For those of you who likes to minimize hosting your own files for whatever reason, Google ...
    Categories
    JavaScript & Ajax