By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,972 Members | 1,092 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,972 IT Pros & Developers. It's quick & easy.

Can we connect to a Database with JavaScript

P: 1
Hi, Is it possible to connect to a database with JavaScript. If yes then how? Please help me.
Oct 25 '14 #1
Share this Question
Share on Google+
2 Replies


iam_clint
Expert 100+
P: 1,208
It is, however your safest solution is to use ajax and let the server handle the connection and querying the database.
http://en.wikipedia.org/wiki/Ajax_%28programming%29
Oct 26 '14 #2

Dormilich
Expert Mod 5K+
P: 8,639
Is it possible to connect to a database with JavaScript.
of course. its only a matter of which DB in which environment.
Oct 27 '14 #3

Post your reply

Sign in to post your reply or Sign up for a free account.