No, JavaScript can not connect to a database. But it can connect through HTTP to a web server, from where a CGI script able to connect to the database can send the data to the JavaScript.
To do it without reloading the common approach is to use AJAX. For specific help post in forum1600.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.