[jQuery] Re: Sorting Divs by Span Value

2008-06-20 Thread Seth - TA
TinySort 0.2.0 was just released with the IE for each fix. http://plugins.jquery.com/node/2986 On Jun 18, 3:28 pm, Seth - TA <[EMAIL PROTECTED]> wrote: > @Kevin > > I got that same error as well. I made a comment on the plugins page to > the author. Hopefully I will get an answer, I like the plu

[jQuery] Re: Sorting Divs by Span Value

2008-06-18 Thread Seth - TA
@Kevin I got that same error as well. I made a comment on the plugins page to the author. Hopefully I will get an answer, I like the plugin. Seth On Jun 12, 6:01 pm, "Kevin Pepperman" <[EMAIL PROTECTED]> wrote: > This is a handy plugin. > > But it seems to be throwing an "expected '(' " error i

[jQuery] Re: Sorting Divs by Span Value

2008-06-12 Thread RobG
On Jun 5, 5:07 am, Seth - TA <[EMAIL PROTECTED]> wrote: > I got a little bit of info from this old thread > -http://groups.google.com/group/jquery-en/browse_thread/thread/e0d6c19..., > however, not enough. For some reason, when sorting numbers, it > disregards the second number. So if I have {1

[jQuery] Re: Sorting Divs by Span Value

2008-06-12 Thread Kevin Pepperman
This is a handy plugin. But it seems to be throwing an "expected '(' " error in IE. and not functiong correct. FF works OK. If anyone else can confirm the but I will post a bug report. On Tue, Jun 10, 2008 at 11:55 AM, Seth - TA <[EMAIL PROTECTED]> wrote: > > Found this plugin to do the job

[jQuery] Re: Sorting Divs by Span Value

2008-06-10 Thread Seth - TA
Found this plugin to do the job. TinySort - http://www.sjeiti.com/?page_id=321 On Jun 5, 7:29 pm, Dave Methvin <[EMAIL PROTECTED]> wrote: > Wrap that html in a and try this code > triggered by a button or link. > > function reorder(sortby, direction) > { > Array.prototype.sort.call($("d

[jQuery] Re: Sorting Divs by Span Value

2008-06-05 Thread Dave Methvin
Wrap that html in a and try this code triggered by a button or link. function reorder(sortby, direction) { Array.prototype.sort.call($("div.hotel"), function(a,b){ var av = $(a).find("span."+sortby).text(); var bv = $(b).find("span."+sortby).text();

[jQuery] Re: Sorting Divs by Span Value

2008-06-05 Thread Seth - TA
Something along the lines of this: Hotel 1 Hotel 1 Address Hotel 1 Phone Distance: 5mi Room Rate: $125.50 Hotel 2 Hotel 2 Address Hotel 2 Phone Distance: 11mi Room Rate: $154.50 Hotel 3 Hotel 3 Address Hotel 3 Phone Distance: 1mi Room Rate: $105.50 Of course it could be just a wi

[jQuery] Re: Sorting Divs by Span Value

2008-06-04 Thread Dave Methvin
> For some reason, when sorting numbers, it > disregards the second number. So if I have {11,100, 500} it would sort > it {100,11,500}. That is completely wrong. Looks like it's doing a character sort, at least for the data set you have there. Can you show the specific markup you'll have in this