[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 plugin.

[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 in IE.

[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-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

[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 div id=hotels /div and try this code triggered by a button or link. function reorder(sortby, direction) {

[jQuery] Re: Sorting Divs by Span Value

2008-06-05 Thread Seth - TA
Something along the lines of this: div class=hotel pHotel 1br / Hotel 1 Addressbr / Hotel 1 Phone br / Distance: span class=distance5/spanmi br / Room Rate: $span class=rate125.50/span /p /div div class=hotel pHotel 2br / Hotel 2 Addressbr / Hotel 2 Phone br / Distance: span

[jQuery] Re: Sorting Divs by Span Value

2008-06-05 Thread Dave Methvin
Wrap that html in a div id=hotels /div 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 =

[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