What would be the best way to Toggle the sort using jQuery?

Know of any samples that can determine if the sort is asc, then have a
toggle update the link to desc?

I appreciate all your help!

Thanks,
Tony

On Mar 17, 2:35 pm, MorningZ <morni...@gmail.com> wrote:
> Sounds like jQuery's ".load" event would be best for you
>
> make the call to "list.cfm?show=All&column=name&sort=asc", create the
> HTML table in your server side code, then put that HTML into a <div>
> or the like
>
> On Mar 17, 2:31 pm, Tony K <tony.kowal...@gmail.com> wrote:
>
> > I'd like to not have page reloads on the client side, as well as the
> > ability to toggle the TH with the sort direction.
>
> > Make sense?
>
> > On Mar 17, 2:05 pm, MorningZ <morni...@gmail.com> wrote:
>
> > > If you are looking to do the sorting on the server-side, then where/
> > > how do you think jQuery comes into the equation?
>
> > > On Mar 17, 1:20 pm, Tony K <tony.kowal...@gmail.com> wrote:
>
> > > > I am looking to display a table of data and have my table headers we
> > > > links to sort.
>
> > > > I CANNOT use client side sorting, the table is up to 10,000 rows.
>
> > > > I have the table built and headers are links to pass a query param.
>
> > > > My question is what is the best method to pass the params and load the
> > > > page w/o a refresh.
>
> > > > I'd really like the header to know its a toggle, so that ordering
> > > > toggles between asc/desc.
>
> > > > My example is passing something like this list.cfm?
> > > > show=All&column=name&sort=asc
>
> > > > This is my first time using jQuery, so any help is appreciated.
>
> > > > Thanks,
> > > > Tony K

Reply via email to