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

to fetch data from database and pass in javascript

P: 2
I have included banner images in an array and used settimeout fun to dislay it in my home page.
Now i have included those banners in a table and now i have to fetch it from the table and include in js with settimeout fn .
How do i pass the values from db to js function.
Oct 9 '08 #1
Share this Question
Share on Google+
3 Replies


Atli
Expert 5K+
P: 5,058
Hi.

You could use AJAX.
Oct 9 '08 #2

P: 2
Hi.

You could use AJAX.
Thankyou for replying.

I have not used ajax.
Can u give the sample coding for this task.
Oct 9 '08 #3

Atli
Expert 5K+
P: 5,058
All you need to know about AJAX, including sample code, is in that link.
It would seem rather redundant to re-post it all here.

Let us know if you run into any problems and we can try to help.
Oct 9 '08 #4

Post your reply

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