what is JavaScript
JavaScript is the client site scripting language it is developed by NETSCAPE in 1995. it is light-weight programming andopen souece source scipting language.
Use of java script:- java script can be use to dynamic web page and java script use to just like validations and security
purpose
for example:-
function validation() {
alert('Hello Rock Programmer');
var TN = document.getElementById('textname');
if (TN.value == "") {
alert('Plese enter your name!!');
return false;
}
Advantage of java script:-
java script provide to immediate feedback to user. suppose that your site registration page user fill the information .just like name age address and etc..
if any text box fill the incorrect then show the alert error massage.
blank record will not insert in your site database.
Java scripting language run the client browser.
1 comment:
useful information
Post a Comment