Donna
|
| Posted: 02/19/2002, 4:01 PM |
|
I have a php page that has 6 forms. Focusing on two of these forms... I click on an url in Form 1 and it refreshes the page so that Form 2 displays the matching record.
Is it possible to ONLY refresh Form 2 INSTEAD of the entire page? And, if so, how could I do that?
Thanks,
Donna
|
|
|
 |
Andrew B
|
| Posted: 02/20/2002, 7:56 PM |
|
#1 would be to use frames. on a click form the top you just target the bottom frame. Not a good way to do it though.
#2 is to pre-load all the data into javascript arrays and then do parsing and writing into a <div> or <ilayer> or some other such thing. Lots of custom code, and not really what you are looking for.
#3 use databound activex controls, but that is 100% custom too, as well as IE only.
#4 There is a simpler way to do it in JS which involves opening a remote document into a layer/div/whatever. That layer gets the content, but this is pretty much IE only too.
I don't really think there is much of a way to do this, unfortunatly. You can ,if you really really try, but it will be a mostly custom solution.
What kind of data are you displaying? Might it be feasible to generate the smaller menu's as static files every 5 minutes, and then just load them in. This would save you querying the DB for your 'menu' forms.
|
|
|
 |
|