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

Answer Posted / dev

Javascript (ECMA script) when executed in the browser context makes it client side, if you are using it for creating API's etc with nodeJS you get to use it on the server side

please refer to https://nodejs.org/ on how you would use it on the server side.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is context in javascript?

655


If an array with name as "names" contain three elements, then how will you print the third element of this array?

721


wap to accept an int array frm the user and print the lucky nos.

1793


Methods get and post in html forms - what's the difference?

702


Is javascript backend or frontend?

634


What is the difference between script type and the script language attributes?

729


In a java script, what is the difference between "==" and "===" operator?

710


What are data structures in javascript?

685


How to convert numbers to strings using javascript?

689


How to get value from dropdown (select) control?

764


What is local scope in javascript?

656


Is a parabola a function?

649


What is the function of javascript?

690


List few difference between primitive and non primitive javascript data types?

705


What are the string methods?

684