CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Refresh Form - Not Page

Print topic Send  topic

Author Message
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.

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.