Anybody knows?
Thanks to Dave Methvin, it runs. I didn't try Kean's solution, Dave's
was simpler.
And I have one more question:
HTML:
...something...
...something...
...
...
...
...
JS:
if(previous dl is first dl){ ...} else { ... } - how can I write the
condition? (e.g. I have this condition in sec
Thanks to Dave Methvin, it runs. I didn't try Kean's solution, because
David's was simpler, but thanks too.
And I have one more question:
...something...
...something...
...
...
...
JS:
if(previous dl == first dl) - how can I check if previous of 'this dl'
is the first 'dl', e.g. I ha
Hi,
I want to remove an object, but also move a piece of it into previous
HTML element, does exist something like ':prev' selector? Thanks!
My code:
JS:
$('#to_move').insertAfter('#div > dl:previous(?) > dd');
$('#div > dl:last').remove();
HTML:
...something...
...something... TO MOVE
4 matches
Mail list logo