Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jan 2003
    Posts
    44
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Pass Value to db using javascript

    Hello,

    I am pretty new to javascript and come from an asp background. I was curious to know if you could pass a value to a database return the results all using javascript?

    If so could you possibly post some example code?

    Any help would be greatly appreciated!

    tsbarnes

  • #2
    Regular Coder
    Join Date
    Aug 2002
    Location
    São Paulo, Brazil
    Posts
    367
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If you mean JavaScript running on the client over HTTP, you can't do it.

    But if you mean JScript in ASP or clientside JavaScript running on your local machine/network you can do it...

    If it's one of the later cases I can help you..
    /Daniel

  • #3
    Regular Coder
    Join Date
    Aug 2002
    Location
    São Paulo, Brazil
    Posts
    367
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Maybe I misunderstood - of course you can pass a value to a database using javascript over the HTTP, but not without using a serverside language too...
    /Daniel


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •