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

Should you disable javascript?

481


What is strict mode?

706


List the comparison operators supported by javascript?

515


Is there an alternative to javascript?

472


List some of the disadvantages of javascript.

493






How to modify the url of the page without reloading the page?

494


What is undefined x 1 in JavaScript?

504


how to validate the date(dd/mm/yyyy)using regular expression in javascript? It should also satisfy the leap year feb 29 problem. Please help me.

5599


How to encode and decode a url in javascript?

527


In Javascript are calculations with fractional numbers guaranteed to be precise?

536


What is the concept of “functions as objects” and how does this affect variable scope?

476


How do I open javascript in browser?

461


Is array an object javascript?

475


In a pop-up browser window, how do you refer to the main browser window that opened it?

460


How to count the number of element in an array using javascript?

548