hi can anyone tell me how we can use js for server side validations also?
js for server-side validations
Collapse
X
-
Tags: None
-
If by "js" you mean Javascript then that's not possible. Javascript runs on the client side and that is that.Originally posted by ramadeviirrigir eddyhi can anyone tell me how we can use js for server side validations also?
AJAX allows a Javascript function to call a server side script and use the result as if the result were returned by the Javascript function itself.
You can get more details about this in the Javascript/Ajax forum. -
Originally posted by r035198xIf by "js" you mean Javascript then that's not possible. Javascript runs on the client side and that is that.
AJAX allows a Javascript function to call a server side script and use the result as if the result were returned by the Javascript function itself.
You can get more details about this in the Javascript/Ajax forum.
Hi,
But i heard javascript is also used for server-side validations. that's why i'm asking this question.I know about Ajax little bit. But are you sure that we can't to validations on server-side using javascript?Comment
-
Perhaps you should tell us what you mean by "server-side validation"?Originally posted by ramadeviirrigir eddyHi,
But i heard javascript is also used for server-side validations. that's why i'm asking this question.I know about Ajax little bit. But are you sure that we can't to validations on server-side using javascript?Comment
Comment