Login
Register
Tutorials
Forum
Career Development
Resources
Reviews
Jobs
Interview
Communities
Projects
Training
Silverlight Games
|
Bookmarks
|
New Members FAQ
|
Mentor
|
Code Converter
|
IT Companies
|
Peer Appraisal
|
Members
|
Revenue Sharing
|
Computer Jokes
|
New Posts
|
Social
|
Online Members
naveensanagasetti
Argha Chatterjee
Prasad kulkarni
sony
Suchita
krishnaprasad
More...
Resources
»
.NET programming
»
ASP.NET/Web Applications
How to declare variable in Javascript?
Posted Date:
08-May-2010
Category:
ASP.NET/Web Applications
Author:
Ultimaterengan
Member Level:
Gold
Points
: 3
How to declare variable in Javascript?
Variables are used to store data in memory. JavaScript variables are declared with the var keyword.
var empname;
Multiple variables can be declared in a single step.
var empname, age, weight, gender;
After a variable is declared, it can be assigned a value.
empname = 'nathan';
Variable declaration and assignment can be done in a single step.
var empname = 'nathan';
Related Resources:
Text Blinking Using Java Script
Dynamic Slide Show Using JavaScript
Modal and ModalLess dialog in Javascript
File Search using Javascript
Javascript Validation
How to Protect or Hide your JavaScript code
Multiple HTTP Requests using Javascript and Ajax
Digital Clock
How to select all text by click on Textbox field using asp.net
Microsoft SQL Server 2005 Express Edition Service
Read related articles:
Declare variable Javascript
Assign value Javascript
Javascript
Did you like this resource? Share it with your friends and show your love!
Tweet
Responses to "How to declare variable in Javascript?"
No responses found. Be the first to respond...
Feedbacks
Post Comment:
Notify me by email when others post comments to this article.
Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
No HTML formatting and links to other web sites are allowed.
This is a strictly moderated site. Absolutely no spam allowed.
Name:
Sign In
to fill automatically.
Email:
(Will not be published, but
required
to validate comment)
Type the numbers and letters shown on the left.
Next Resource:
Visual Studio 2010 and MS SQL 2008- Authentication System using asp.net ( JQuery, Json and Web servi
Previous Resource:
Digital Signature
Return to Resources
Post New Resource
Category:
ASP.NET/Web Applications
Post resources and
earn money
!
More Resources
Visual Studio 2010 and MS SQL 2008- Authentication System using asp.net ( JQuery, Json and Web servi
Impersonation
Html,xhtml,dhtml
Capture and save images from Web camera using C# and ASP.NET
Understanding Models, Views, and Controllers
Introduction to ASP.NET MVC
Popular Tags
Tag posting guidelines
Search Tags
How to declare variable in Javascript?
.
Active Members
Today
Anil Kumar ...
(47)
Ultimaterengan
(42)
baskar
(27)
Last 7 Days
naveensanagase...
(286)
Naved Hasan ...
(256)
Pawan Awasthi
(184)
more...
Awards & Gifts
Email subscription
.NET Jobs
.NET Articles
.NET Forums
Articles Rss Feeds
Forum Rss Feeds
Talk to Webmaster Tony John