Hi all,
I'm new to JQuery and want to do the following:
Given the following html:
div id=parent
div/div
div/div
div/div
div/div
span/span
a/a
/div
I want to select the last 'div' or 'span' child of div using the
':last' filter. Is this possible?
Something like: $( '#parent ).children(
('span,div').slice(-1);
Ariel Flesler
On 6 mar, 14:37, apramanik [EMAIL PROTECTED] wrote:
Hi all,
I'm new to JQuery and want to do the following:
Given the following html:
div id=parent
div/div
div/div
div/div
div/div
span/span
a/a
/div
I want to select the last
2 matches
Mail list logo