Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 23, 2012, 04:24:13 PM

Pages: [1]   Go Down
  Print  
Author Topic: how can i write code to make decisions in JavaScript ?  (Read 5200 times)
qoiiuarw
Pong! (the videogame) Master
*****
Offline Offline

Posts: 21


WWW
« on: December 28, 2011, 07:58:30 PM »

One of the key features of all good programming languages is the ability to control the order in which actions are performed.  For instance, you may want to run one piece of code if the user has selected a checkbox, but run a different piece of code if they haven't selected it. Or, you may want to run the same piece of code 10 times .  Can you guide me that how can i write code to make decisions in JavaScript ? Thanks advanced for any guidace .

Logged
Pages: [1]   Go Up
  Print  
 
Jump to: