|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
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
|
|||
|
|||
|
Search Values Changes To Blanks
Dear All,
I have a search page which allows users to select values and click a submit button for a result but the problem is that all values changes to blanks when a submit button is clicked. How can I prevent my search page from loosing its values when a search button is clicked?? Thanks in advance |
|
#2
|
|||
|
|||
|
do you have your source code? easier to understand. are you submitting to a different page or to the same page?
|
|
#3
|
|||
|
|||
|
It shouldn't matter if it's same page or not
your values are not lost, they're hiding in the request object, it's up to you to pull them out and put them back in their homes if you want your values to remain on the page, ex: Code:
response.write "<input type=text name='txt1' value='" & request.form("txt1") & "'>"
|
|
#4
|
|||
|
|||
|
Thanks guys, I managed to get it to work. Basically, I did a check on values of each combo boxes when a page is reloaded to re-select, whenever there are values in combo boxes. (key word is 'SELECTED')
Thanks |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Search Values Changes To Blanks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|