Questions | Login

Top / Javascript

Write in database with Javascript?

demo 19 Dec 2008 09:32am
Hi,

Here is the situation:
I have an html page with a button and a javascript is called for onClick on this button.I would like to write a few data in a database (Access or other). I believe it is impossible to interface with database using javascript. Is it?

If it is not possible with js, should I call a function on an other script page? What language?

Thank you

Answers

demo 19 Dec 2008 10:35am
JavaScript is really meant to run on the client side. You'd need a server side language to handle the interaction between the database and your form. Classic ASP 3.0 can use JavaScript on the server side to handle this, but VB Script is more commonly used with ASP.

You'd be better off using something like ASP.NET, PHP, JSP or ColdFusion to handle this.

Related

Submit Answer

You must be logged in to post an answer. Please Login or Register.

Powered by phpMyAnswers.