http://docs.jquery.com/Selectors/nthChild
also works.
James wrote:
http://docs.jquery.com/Selectors/eq
On Jul 1, 3:10 pm, Wacko Jacko jackson.be...@gmail.com 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
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
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 tigerseyet...@gmail.com wrote:
This code
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
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');
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');
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 tigerseyet...@gmail.com
mailto:tigerseyet...@gmail.com
Thank you, Karl!!
Works excellent. Exactly what I needed!
Karl Swedberg wrote:
Assuming
about that. Use it as a
starting point.
--Karl
Karl Swedberg
www.englishrules.com http://www.englishrules.com
www.learningjquery.com http://www.learningjquery.com
On Jun 14, 2009, at 10:21 PM, Paul Witschger wrote:
actually, there is one problem. I guess what I need is something
8 matches
Mail list logo