Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Not sure why I'm getting this error :/

Status
Not open for further replies.

youradds

Programmer
Jun 27, 2001
817
GB
Hi,

Can someone please help me with this function:


Code:
function do_checks(thisform) {

   if (thisform.des_type.value == "1") {
		do_checks_country(thisform);
   } elseif (thisform.des_type.value == "0") {
		do_checks_continent(thisform);
   }
}

I get the following error with it~;

Error: missing ; before statement
Source File: Line: 590, Column: 41
Source Code:
} elseif (thisform.des_type.value == "0") {

TIA

Andy
 
heheh thanks - just worked it out myself (get used to perl syntax, as I only dabble in JS =))

Thanks anyway

Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top