Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

else if in javascript

if(condition){
	//action to take if condition is met
} else if(condition){
  //action to take if first condition is not met but there is a second condition
} else{
  //actioon to take if all conditions are not met
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript
ADD COMMENT
Topic
Name
4+5 =