ASP Question
- Started
- Last post
- 8 Responses
- nhnu
I'm attempting to Refresh a page based on a calendar.
Basically if you are at the Date April 2nd and you presss "Date Previous" I want the page to refresh with the information for April 1st. I'm wondering if you can do this without actually refreshing the page so that you don't have to retrieve a new recordset. I haven't coded in about 6 months and it seems that there should be a simple method of going about this, or a similar way.
A practical solution just escapes me.
- nhnu0
maybe a java solution is in order?
- steady0
Javascript could do it, but it's beyond me. Why not just do it the easy way?
- nhnu0
The easy way?
As in reload the db everytime the page is selected? I'm going down that road right now but I'm having cursor type difficulties. Once I get it working like this I'm sure I'll try and break it to do it cleaner.
Thanks.
- steady0
yea, I just meant multiple calls to the DB
- snarlen0
You could take all the info from the db and store them in a javascript array, and then it's only a matter of a little dhtml to switch the info around on the client side
- steady0
here is a script that does just that for listboxes, perhaps you could mod it to work as page content:
- nhnu0
thanks steady more of what i was looking for. much appreciated.
- PixelDrama0
hey man, from my knowledge there is no easy solution to what your doing, and its easiest to find something thats already written. To answer this question, i would need to know what your making this calendar in, is it.. straight drawn out html? or java? anywho, you would have to make some sort of calendar control in html, and control it using javascript... that would be the easiest way... i hope that helps :/