[jQuery] Can't get add/removeClass to work

2008-11-17 Thread Alen Ribic
I have a set of HTML tabs that I am trying to highlight depending which one is selected. When I do some debug, I can see that the removeClass and the addClass seem to work, however it seems that the CSS is perhpas overrides the change that the removeClass/addClass make. Here is the code: HTML:

[jQuery] Swapping table rows

2008-08-22 Thread Alen Ribic
I am trying to get my head around the manipulator concept and table rows. How do I go about manipulating my table to swap rows? I have arrow keys to indicated the direction. So if user clicks once 'Up' in the row '2', then that row should go above row '1' and opposite effect in opposite direction