Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DB content in a scroll message

Status
Not open for further replies.

camillaj

Programmer
Sep 18, 2003
31
AU
I'm trying to include DB content into a message that is scrolling in a textbox on the page. The scrolling is ok, but now the text is static.

In my asp page I want to first load DB content into an array etc.. when the page loads. I then want to somehow call the javascript that does the actual scroll effect.

1: Can I call a javascript function from within the asp page after DB content is retrieved?

2: Does this sounds like a way of doing it? I know it can be hard to mix dynamic content into a client side script... Any other way to possibly do it?

3: Can I store DB stuff in a session and then use it in the javascript, or is session server side stuff?

thanks for anyt help :)
 
Well the database stuff is done on the server, and then sent to the browser in html format, so anything you get from the db you shouldnt have any problem putting in your javascript... I don't see your problem here.

- Jason
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top