Monday, December 18, 2017

Today i would like to share my knowledge on javascript introduction,Here we have web forms on your website that your visitor needs to fill out that form ,Content will need to be validated before it can be processed,Instead of sending request to server to validate forms.

we use javascript code in our HTML pages for client side validations and also use for calculations,Now i will try to start with basics for the beginners,those who know about basics can simple exclude this article.

How to declare variables in javascript ? and how to write javascript  code in between script tags as below.

 

 

javascript2

Rules and regulations to declare variables
1) No spaces in variable name.
2) We can begin with lowercase letters and later capitalized.
3) Should not use numbers before variable.
4) We can use underscore symbol to separate variable name eg:- variable_name.

javascript3

javascript4

Here if the condition fails ,else condition will execute and popup a message.
Thanks for reading this article .

Tags:
I am Saritha Reddy, a Remote codeigniter,Angularjs Developer. I have 4+ years of strong experience in designing, implementing, Programming and delivering advanced XAMPP ( Apache, MySQL and PHP) Web applications development. I am an Indian national and based Andhra Pradesh,Hyderabad. In addition to providing custom programming and design, I also have extensive experience with Open Source technologies to keep costs down and get websites running with as little fuss and wait as possible.

0 Comments

Leave a Comment