0

Is there any other way I could access the database using javascript? I have progress bars and I need to check whether the value of a field in my database is true to keep them moving. I've already google-d about it and I found out that it's not possible. If I use cookies, then I have to redefine the cookie everytime I change the computer where I log in. Thank you very much! :)

asked Sep 18, 2011 at 10:43
2
  • possible duplicate of get data from mysql database to use in javascript Commented Sep 18, 2011 at 10:52
  • i saw that post, i thought it was different, thank you. Commented Sep 18, 2011 at 10:56

1 Answer 1

1

You can use ajax to call a php (or asp or coldfusion) script which will return the value of the database field

answered Sep 18, 2011 at 10:48
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.