Can i use an if else statement?
-
hi. I need some help as i’am a newbie. can I be able to use the following code?I’m doing a form that needs an if else statement. Any simple help will be of great
use.thanks.(function(){
if (fieldname2==0){break};
}else if (fieldname2>=10){
fieldname2=fieldname2-10;
fieldname3=fieldname3+10;
}else if (fieldname2<10){
fieldname3=fieldname3+fieldname2;
fieldname2=0;
}
}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Can i use an if else statement?’ is closed to new replies.