Antonio, try something like this:

$('span.bt-more').bind('click', function(event){
        var span = event.target || event.srcElement;
        var $parent = $(span).parent();
        $parent.after($parent.clone());
});

If my understanding of the 'this' keyword is correct, in your
anonymous click function, this refers to the anonymous function and
NOT the span you're clicking on.  The jQuery .after() method injects
whatever is inbetween the parentheses, so in your function, it would
be appending the actual parent element after itself rather than a
clone.  I'm probably not explaining something quite right, but I think
my version should work like you want it to.  Hope it helps!

Reply via email to