js for server-side validations

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ramadeviirrigireddy
    New Member
    • Jul 2007
    • 54

    #1

    js for server-side validations

    hi can anyone tell me how we can use js for server side validations also?
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by ramadeviirrigir eddy
    hi can anyone tell me how we can use js for server side validations also?
    If 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.

    Comment

    • ramadeviirrigireddy
      New Member
      • Jul 2007
      • 54

      #3
      Originally posted by r035198x
      If 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

      • r035198x
        MVP
        • Sep 2006
        • 13225

        #4
        Originally posted by ramadeviirrigir eddy
        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?
        Perhaps you should tell us what you mean by "server-side validation"?

        Comment

        Working...