+ 1
Is it possible to connect database with JavaScript ? if yes Give a Example -
2 Answers
+ 3
Not with Javascript.
You have to use node.js to do so.
+ 1
As đ« Rick Grimes said, you would use Node to connect with databases.
However, you can use AJAX in normal JavaScript to connect to a server which would get the database result and return it.