[jQuery] Re: Reordering rows using JQuery

2009-03-03 Thread Rasit OZDAS
If I understand your problem correctly, you don't need JQuery for this, you can just create rows dynamically on start. JQuery is needed only when you need to change sorting in the middle, using Ajax etc. Tablesorter doesn't sort as you want, it sorts like "ORDER BY" query in SQL. I recommend usin

[jQuery] Re: Clone Line and Increase Number by +1

2009-02-25 Thread Rasit OZDAS
Stephen, $(id).replaceWith("invoice_lines_attributes_new_" + $(this).val() +1 + "_description"); You should take arithmetic operations in paranthesis when concatenating these with strings, or javascript will append these also as strings. Cheers Rasit 2009/2/25 Stephan Veigl > > Hi Stephen, >

[jQuery] Re: JQuery size: 19 KB ? 55 KB?

2009-02-25 Thread Rasit OZDAS
Thanks, Richard! I suspected it, but wasn't sure, thank you for your help! 2009/2/25 Richard D. Worth > > On Tue, Feb 24, 2009 at 4:16 PM, rasit wrote: > >> >> Hi, all! >> Homepage of JQuery says that JQuery is 19 KB (minified) > > > Actually if you look closely it says Minified and Gzipped. Th