scripter73
Programmer
Hi,
I have a page that displays data from an array. The array has 5 fields:
Binder/Policy#
Date
Insured
Account#
Amount
The data is initially displayed sorted by Insured, then by Date. I call this one SORT 1.
My SORT 2 is displayed sorted by Date, then by Insured.
This is my goal. I want to display my SORT 1 data, and then have the
user click on something (preferably) the header, and then display the other sort (SORT 2), and be
able to switch back and forth between the two based on how the user determines the sort.
I'm having a hard time figuring out where to start. Here are a few of my issues:
1) I'd like to make the header look like "links", but not behave like links, because I
don't want to redirect the page. Therefore, my <a href="" action=""> will look sort of
funky.
2) I'll probably have to recall my current page with something like a (this) pointer.
If someone could point me in the right direction, I'd be eternally grateful.
To view my pages, goto the following:
Click on the Sweep Bank Reconciliation link to get to:
Thanks,
scripter73
Change Your Thinking, Change Your Life.
I have a page that displays data from an array. The array has 5 fields:
Binder/Policy#
Date
Insured
Account#
Amount
The data is initially displayed sorted by Insured, then by Date. I call this one SORT 1.
My SORT 2 is displayed sorted by Date, then by Insured.
This is my goal. I want to display my SORT 1 data, and then have the
user click on something (preferably) the header, and then display the other sort (SORT 2), and be
able to switch back and forth between the two based on how the user determines the sort.
I'm having a hard time figuring out where to start. Here are a few of my issues:
1) I'd like to make the header look like "links", but not behave like links, because I
don't want to redirect the page. Therefore, my <a href="" action=""> will look sort of
funky.
2) I'll probably have to recall my current page with something like a (this) pointer.
If someone could point me in the right direction, I'd be eternally grateful.
To view my pages, goto the following:
Click on the Sweep Bank Reconciliation link to get to:
Thanks,
scripter73
Change Your Thinking, Change Your Life.