|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Refresh - just a portion...
I have this cfm page that collects data to run a search on my Database.
Lets say there is a field called "State" and then there are lots more optional search criteria. Now what I would like is If I select a State a query would fire and get all of the known towns in that state. This would be a completely dynamic result set. I would like the sceen then to show that state still in the first field but then display a list of checkboxes with the town names. If the state was changed then the query would fire again and the list of checkboxes would change. The problem is that I cannot reload, refresh, or submit the entire page. Idealy I only want to reload the dynamic checkbox portion when the State value changes. I already know how to fire the function and how to run the query, am I asking too much to reload "only one dynamic table inside of a form"? ~Markus ![]() |
|
#2
|
|||
|
|||
|
What you are asking for isn't possible - for any web browser. The web is a stateless system and runs only in a request-response model. There's no inherent way for the browser to refresh only part of its content.
Now, that said, you have some options that hack around this limitation. You could write javascript to execute a request to the server in the background and then update the content based on that request. Or you could make the content a Flash movie and it can handle making calls to the server and updating itself.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian. How to Post a Question in the Forums |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > Refresh - just a portion... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|