How To Assign A Value To A Variable In Javascript

RegisterLogin
How To Assign A Value To A Variable In Javascript
Post Description: How To Assign A Value To A Variable In Javascript
Tags: How, To, Assign, A, Value, To, A, Variable, In, Javascript
This Post Was Posted On Apr 19, 2008 By web hosting #1437
in our last post i showed you how to declare a variable, now that you know how to declare a variable, you can assign the value to that variable. so for example, i have a variable called users

var users


so this is the code i would use to give it a value

var users = 200


what this tells your code is that the value of users is equals to 200
Leave Your Comments
©2011 Webune Forums - Wed Dec 21, 2011 2:48 am
Powered by: Webune Forums V3