Re: Javascript two selects....how to force the first select FIRST

2005-01-13 Thread Will Tomlinson
SWEET GEORGIA BROWN!!! Works like a friggin champ! I appreciate it Adrian, now you need to go to bed!! :) Will ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.hous

RE: Javascript two selects....how to force the first select FIRST

2005-01-13 Thread Adrian Lynch
al Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: 14 January 2005 01:27 To: CF-Talk Subject: Re: Javascript two selectshow to force the first select FIRST Adrian, This is REAL close, I appreciate the help. It works and improves what I have, but could be better. Here's w

Re: Javascript two selects....how to force the first select FIRST

2005-01-13 Thread Will Tomlinson
Adrian, This is REAL close, I appreciate the help. It works and improves what I have, but could be better. Here's what happens. Some goofball selects the second select first, ALERT - "please select a size". Now you select the size - it doesn't submit because of course, there's no onchange on

RE: Javascript two selects....how to force the first select FIRST

2005-01-13 Thread Adrian Lynch
Aghhh, more typos, check against "" not 0 :OS Bed time :O) Ade -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: 14 January 2005 02:16 To: CF-Talk Subject: RE: Javascript two selects....how to force the first select FIRST Do a check on the selecte

RE: Javascript two selects....how to force the first select FIRST

2005-01-13 Thread Adrian Lynch
Do a check on the selected index of the first select in your submitForm() function. function submitForm() { if ( document.form1.prodsize[document.form1.prodsize.selectedIndex].value != 0 ) document.form1.submit(); else alert("Would ya pick a size al