View Full Version : Pass Value to db using javascript

07-02-2003, 11:01 PM

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!


07-02-2003, 11:19 PM
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..

07-02-2003, 11:39 PM
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...