ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Cooking with JavaScript & DHTML
Subject:   oops
Date:   2006-06-28 07:26:06
From:   jason2584
Response to: a better mousetrap

The terminating expression on the for loop in the code I posted was incorrect. It should run for i < ddl.options.length, not i < ddl.options.length-1. My bad.