[jQuery] Re: custom function call from document.ready

2009-01-05 Thread adeveloper
Rephrasing the question, which function executes last in jQuery plugins? Is that specified? If not, how can I find out which function is called last? So that I could call from their a simple alternate(tableID) method. On Jan 4, 2:50 am, adeveloper wrote: > I have replaced alternate with

[jQuery] Re: custom function call from document.ready

2009-01-03 Thread adeveloper
I have replaced alternate with an alert statement. The alert statement works on document load. However, it is not being called after sorting (forgot to mention, the table is being sorted after the user clicks on one of the headers). Why is it so? $(document).ready(function() { $("#tableID").

[jQuery] custom function call from document.ready

2009-01-02 Thread adeveloper
I have a table which needs to be sorted. Tablesorter plugin does not fully work. I am trying to call a simple alternate function from jQuery $(document).ready method. How to make it work? $(document).ready(function() { $("#tableID").tablesorter({ }); alternate('tableID');

[jQuery] Re: Tablesorter plugin: adding alternating colors

2008-12-19 Thread adeveloper
19, 7:47 pm, adeveloper wrote: > anybody? > > On Dec 19, 1:17 am, adeveloper wrote: > > > The row coloring is done on client-side (withtablesorteritself). It > > works on document load. However, after sorting, all rows become the > > same color. Why is row colori

[jQuery] Re: Tablesorter plugin: adding alternating colors

2008-12-19 Thread adeveloper
19, 7:47 pm, adeveloper wrote: > anybody? > > On Dec 19, 1:17 am, adeveloper wrote: > > > The row coloring is done on client-side (withtablesorteritself). It > > works on document load. However, after sorting, all rows become the > > same color. Why is row colori

[jQuery] Re: Tablesorter plugin: adding alternating colors

2008-12-19 Thread adeveloper
19, 7:47 pm, adeveloper wrote: > anybody? > > On Dec 19, 1:17 am, adeveloper wrote: > > > The row coloring is done on client-side (withtablesorteritself). It > > works on document load. However, after sorting, all rows become the > > same color. Why is row colori

[jQuery] Re: Tablesorter plugin: adding alternating colors

2008-12-19 Thread adeveloper
anybody? On Dec 19, 1:17 am, adeveloper wrote: > The row coloring is done on client-side (withtablesorteritself). It > works on document load. However, after sorting, all rows become the > same color. Why is row coloring not preserved after sorting? What can > be the reason? &

[jQuery] Re: Tablesorter plugin: adding alternating colors

2008-12-19 Thread adeveloper
anybody? On Dec 19, 1:17 am, adeveloper wrote: > The row coloring is done on client-side (withtablesorteritself). It > works on document load. However, after sorting, all rows become the > same color. Why is row coloring not preserved after sorting? What can > be the reason? &

[jQuery] Re: Tablesorter plugin: adding alternating colors

2008-12-18 Thread adeveloper
t it does?), instead of trying > to recreate code that already works > > On Dec 17, 10:41 pm, adeveloper wrote: > > > My table has alternating row coloring. It get's messed up after > > sorting (eg, instead of odd, even, odd I get something like even, > > eve

[jQuery] Tablesorter plugin: adding alternating colors

2008-12-18 Thread adeveloper
My table has alternating row coloring. It get's messed up after sorting (eg, instead of odd, even, odd I get something like even, even, odd, even, even...etc) I was trying to fix that with Zebra widget but gave up. All I need to do is to call this simple function to http://www.sitepoint.com/artic