Also, you may want to break the habit of using the IE shortcut of textbox2 referring to an element with ID/NAME of textbox2 as it will break any browser other than IE. -- Randy Chance Favors The Prepared Mind comp.lang.javascript FAQ - <a href="http://jibbering.com/faq/index.html">http://jibbering.com/faq/index.html</a> Javascript Best Practices - <a href="http://www.JavascriptToolbox.com/bestpractices/">http://www.JavascriptToolbox.com/bestpractices/</a> Randy Webb <HikksNotAtH@aol.com> wrote in message