Click to See Complete Forum and Search --> : Change DIV contents


PhilgB
02-17-2003, 01:32 PM
Im made a calendar/organizer using asp. I have a month view in one div and a week view in another. I would like to change the month view (ie. view next/previous month) without refreshing the entire page.

My first problem would be updating just the DIV. I think its something like div.innerHTML. The second would be to perform a function onClick in ASP.

The calendar is an array printed into a table. I want to place previous and next buttons on the month view and allow the user to browse.

Thanks!

Skrlin Site
02-21-2003, 11:24 PM
Either use an IFRAME as Dave said, or build a large array (via JavaScript / VBS) of the data you want to update into the DIV and dynamically change the DIV's contents via onClick with DIV.innerHTML

PhilgB
02-24-2003, 09:58 AM
I started out with an array, then tried the iFrame but i prefer the array. However, i am unable to call an asp function from javascript. Has anyone done this before?

PhilgB
02-25-2003, 07:36 AM
Please. Ive been trying this for a while and Im sure ill need it again in the future. Thanks!

celebguy_dv
03-04-2003, 03:40 AM
http://banners.dollarmachine.com/pic/2014000/hal001.gif (http://www.kinkyceleb.com/1261795520)