View Full Version : Pass Value to db using javascript

07-03-2003, 12:01 AM

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-03-2003, 12:19 AM
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-03-2003, 12:39 AM
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...