why you used Java Script? Can it use for both client side
and server side validation purpose?

Answer Posted / arul

Javascript is a client side scripting, which runs in the
browser. Even AJAX runs in the browser and is also a client
side one, which actually is nothing but Javascript. In AJAX
javascript is used to communicate with server side
components or post values to a JSP / ASP or any web page or
any services which can be referred by URL.

Is This Answer Correct ?    14 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

The below script is working Internet browser but not working in mozilla plz find that good way... function doSubmit(op){ var rowcount=document.getElementsByName ("parameterTypeId").length; var parameterGrade; var performance; var goal; if(op == "save"){ for (var i=0; i < rowcount; i++) { var param=eval("document.forms [0].parameterGrade"+i); if(param.value != "select"){ return true; } } alert("Please rate atleast one attribute"); return false; }//if ends here

2018


How to read a cookie using javascript?

535


just for testing

1753


How Can I get facebook fans/likes?

1476


How to write hello world on the web page?

521






How do you sort an array in javascript?

526


Is there any class in javascript?

504


What is event bubbling in JavaScript?

538


What is the statement to enable strict mode in javascript quiz?

508


What is dataview in javascript?

469


What is an asynchronous programming? Why is it important in javascript?

534


What are the different functional component in javascript?

458


What is a method in javascript?

513


Which symbol is used for comments in Javascript?

1295


What are the primitive data types in JavaScript?

547