1. Home
  2. Computing & Technology
  3. JavaScript

More from About.com

Scripts You Can Copy

You don't need to know JavaScript to be able to use it on your web pages. There are hundreds of JavaScripts that I have written that you may copy and install onto your site. Each comes with complete step by step instructions on how to use it.

Things to Note

Stephen's JavaScript Blog

Caching of Requests

Wednesday May 21, 2008
Many people misunderstand the real difference between GET and POST

One problem with using GET requests with Ajax is that such requests were designed to retrieve static information. This means that some browsers will cache the response from the first request and return that again for the next call. Not a very good way of retrieving a dynamically changing value from the server. There are two ways to fix this problem as this fourteenth Ajax tutorial demonstrates.

Caching of Requests

Unobtrusive Collapsible Menus

Tuesday May 20, 2008
Collapsing menus when not required saves space on the web page

I wrote my original collapsible menu script some years ago before making JavaScripts unobtrusive became practical. A recent request from someone to have the open menu close when a new one is open prompted me to revisit the script and this complete rewrite is the result. Not only have I converted the original variant of the script to make the JavaScript code completely separate from the HTML but having done so I was then able to easily add an alternative version of the JavaScript that will link the menus together so that you can have only one open at a time.

Unobtrusive Collapsible Menus
  1. Home
  2. Computing & Technology
  3. JavaScript

©2008 About.com, a part of The New York Times Company.

All rights reserved.