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

Database Connection with JavaScript

P: 1
How to connect a MS Access with an HTML page using Javascript
and How to Convert an Excel Sheet to Ms Access database to use it in an HTML document using Javascript.
Feb 22 '07 #1
Share this Question
Share on Google+
3 Replies

acoder
Expert Mod 15k+
P: 16,027
Welcome to The Scripts, Kishore.

That is not possible in Javascript unless you use Ajax, but that requires a server-side language such as ASP, PHP, Coldfusion, JSP, etc. The Javascript makes a request to the server using the XMLHttpRequest object. The server-side script connects to the database and returns a response. See this page which gives an example in both ASP and PHP.
Feb 22 '07 #2

P: 1
How to connect a MS Access with an HTML page using Javascript
and How to Convert an Excel Sheet to Ms Access database to use it in an HTML document using Javascript.

please show a code that connect in ms access using javascript? by using only a html coding...
Mar 5 '07 #3

acoder
Expert Mod 15k+
P: 16,027
please show a code that connect in ms access using javascript? by using only a html coding...
As I mentioned in my reply to the first post in this thread, this is not possible using Javascript alone. The best you can do is Ajax (but that obviously still requires some server-side scripting). And HTML - that's just simple markup, it cannot make any connections to databases or any sort of dynamic functionality.
Mar 5 '07 #4

Post your reply

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