How To Define Variables In Javascript Code

RegisterLogin
How To Define Variables In Javascript Code
Post Description: How To Define Variables In Javascript Code
Tags: How, To, Define, Variables, In, Javascript, Code
This Post Was Posted On Apr 19, 2008 By web hosting #1436
To declare text as a variable, you use the var keyword, which tells the browser that the text to follow will be the name of a new variable

var variable;


for example, to name your variable users, the declaration look like this

var users;



next: how to assign a value to a variable
Leave Your Comments
©2011 Webune Forums - Mon Dec 19, 2011 10:31 am
Powered by: Webune Forums V3