http://docs.jquery.com/Selectors/nthChild
also works.
James wrote:
http://docs.jquery.com/Selectors/eq
On Jul 1, 3:10 pm, Wacko Jacko wrote:
How would I target (with jQuery or normal javascript) the 5th and 6th
li in an unsorted list for styling? I need to change the css for only
2 items
I understood what you meant, and I actually thought about it beforehand,
I'm just not familiar enough with jQuery to be confident in my assumptions.
I appreciate your help in this. I couldn't seem to get what you offered
to work. I just found it to be easier to leave the link in place whether
My apologies on the multiple threads. It just seemed that it got lost in
the shuffle.
OK, I fixed many of the errors from validator. Only one remains. Doing
so seems to have fixed my IE issue (at least IE7).
Here's the error that remains:
[error]
document type does not allow element "noscr
e anything
from lots of .prev() and .next() calls without seeing the
corresponding HTML mark-up. What inner DIV? What container?
Moving a single row up should be as simple as $row.insertBefore
( $row.prev() ); http://snipt.org/kkpo
On Jun 18, 10:37 pm, Paul Witschger wrote:
This code seems to wor
This code seems to work great in FF and Safari, but IE seems to interact
with it differently.
[code]
$('a.moveup').click(function(event) {
var href = $(this).attr('href');
$.get(href);
var $thisRow = $(this).parents('tr:first');
var $thisTable = $('#main_table');
x27;.movedown').show();
}
return false;
});
});
There's a lot of repetitive code there. Sorry about that. Use it as a
starting point.
--Karl
Karl Swedberg
www.englishrules.com <http://www.englishrules.com>
www.learningjquery.com <htt
(removing "Move
Down" link if last row).
Is there a way to check for this?
Thanks
John Bill wrote:
good job!
2009/6/15 Paul Witschger <mailto:tigerseyet...@gmail.com>>
Thank you, Karl!!
Works excellent. Exactly what I needed!
Karl Swedberg wrote:
Assu
Thank you, Karl!!
Works excellent. Exactly what I needed!
Karl Swedberg wrote:
Assuming that the Move Up link is within the table row and that the
link has a class of "moveup," you could do something like this:
$('a.moveup').click(function() {
var $thisRow = $(this).parents('tr:first');
8 matches
Mail list logo