• Register
PleaseGuide.ME is a new way to find answers to your technology problems and share information. You can ask questions, get answers from real people and share your insights.

Is there any way to connect Database using jquery?

Is there any way to connect Database using jquery?

Can we connect database with out server side coding directly using jquery or javascript?
asked Feb 22 in Programming by krish (16 points)
    

Please log in or register to answer this question.

1 Answer

1 like 0 dislike
You don't connect to a database with javascript. You use serverside scripting like PHP, JavaEE Servlets, ASP etc.

Javascript/jquery is client-side scripting, meaning all the scripts are executed on the user's machine. The database is on the server and uses server side scripting.

But JQuery and AJAX can act as an intermediate to load the (server-side) code asynchronously to make connections with the database and load it quickly without refreshing the page many times.

This is as far as I can get.
answered Feb 22 by Roydon D' Souza Little Nerd (293 points)
edited Feb 22 by Roydon D' Souza