Wednesday, October 12, 2005

Javascript coming soon.

I was working on a problem with Client Side Javascript last night that I thought was just a wonderful example of something that happens.

The problem is that there are 2 listboxes and between them are the standard ">>" and "<<" buttons to move items back and forth, which was being done with Javascript. However, the site owners had a few common items that they wanted to appear at the top of each list for ease of selection.

If you can imagine, it's like having each country in the list, but you know that the USA is the most common, so you want it at the top. However, you want it to stay at the top when items are moved around. I'll clean up my code and post it soon.