473,403 Members | 2,338 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Filters reset to defaults in asp files (javascript)

tyv
Hi,

I have a bug on my website that I'm trying to fix. I have filters
(drop down menus and click-calendar date range) that narrow down
searches on my website by pulling out the information from the
database. Problem is as follows:

1) I select my filters, the database choices are narrowed.
2) I get multiple pages (a filtered list from the database).
3) I click to go to the second page.
4) The filters reset to their defaults and I end up with the entire
database again. I cannot view the second page (or any other page) of
the filtered list. Only the first page.

I am working on ASP files, Javascript and some html. Any suggestions
on how I can fix this?

Thanks for any help you can offer!

TV
Feb 27 '08 #1
2 1360
On Feb 27, 1:08*pm, tyv <vyts...@gmail.comwrote:
Hi,

I have a bug on my website that I'm trying to fix. *I have filters
(drop down menus and click-calendar date range) that narrow down
searches on my website by pulling out the information from the
database. *Problem is as follows:

1) *I select my filters, the database choices are narrowed.
2) *I get multiple pages (a filtered list from the database).
3) *I click to go to the second page.
4) *The filters reset to their defaults and I end up with the entire
database again. *I cannot view the second page (or any other page) of
the filtered list. *Only the first page.

I am working on ASP files, Javascript and some html. *Any suggestions
on how I can fix this?

Thanks for any help you can offer!

TV
This is going to be a DB and ASP problem. The link for the second page
should actually cause the DB to be queried again, except it will have
params in the URL that the ASP code on the 2nd page will use to
construct a different SQL query.
Feb 27 '08 #2
On Feb 27, 2:38*pm, Doug Gunnoe <douggun...@gmail.comwrote:
This is going to be a DB and ASP problem. The link for the second page
should actually cause the DB to be queried again, except it will have
params in the URL that the ASP code on the 2nd page will use to
construct a different SQL query.- Hide quoted text -
And it wouldn't actually be a '2nd' page exactly. Most likely the same
"page", but you know...

At any rate I doubt this would be a javascript problem.

Good Luck.
Feb 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Ken | last post by:
How can I reset the initial form variables that are set with session statements when clicking on a button? I tried this but the function was not called: <?PHP function reset_form($none) {...
6
by: Shabam | last post by:
I have a text field that's pre-filled with data. Suppose the user edits it, but decides he wants to reset the data back to the original pre-filled data, how can I do that?
1
by: NancyASAP | last post by:
Thought I'd share this since it took me a long time to get it working. Thanks to a bunch of contributers in Google Groups who shared javascript, etc. The question was: How can I put a reset...
6
by: TJO | last post by:
Below is some sample code that fades div tags that is not working in IE 6.0.29 on xp sp2. Can anyone help see why the if(ie5) document.getElementById(divID).filters.alpha.opacity lines are not...
0
by: James Arnold | last post by:
Is it possible to reset all the GridItems within a PropertyGrid to be reset, without recursively looping through each item? I know of PropertyGrid.ResetSelectedProperty, but doesn't this mean I'd...
11
by: newbie | last post by:
i have a form in which a hidden field (initial value as '0', and my javascript set it to '1' when an event is trigged). In the same form, i have a reset field. But I realized that the hidden field...
8
praclarush
by: praclarush | last post by:
Ok, I'm new to JavaScript and I'm taking a class for it the assignment in it I'm supposed to create edit a pre-made page to display a marquee that automatically scrolls for the user, as well as give...
1
by: apstein | last post by:
Hi, I have an HTML form (generated by php) which I am rendering in Internet Explorer 6. My original problem was that if the user submitted the form, and then used the back button to return to...
0
by: tyv | last post by:
Hi, I have a bug on my website that I'm trying to fix. I have filters (drop down menus and click-calendar date range) that narrow down searches on my website by pulling out the information from...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.