Will Olbrys schrieb:
> here is an updated example with me being less stupid about how to use the
> dollar sign function
>
> $('rowNode', xml.responseXML).each( function(i){
> var clone = $(cloneTemplate).clone();
> $('#target').append(clone);
>
> clone.click(function() {
> $(this).css({border:'orange '+(i+3)+'px solid'});
> });
>
> var clone = null;
> });
>
> i smart...
>
> will
Not a solution for your problem, but I couldn't resist:
$('rowNode', xml.responseXML).each( function(i){
$(cloneTemplate).clone().appendTo('#target').click(function() {
$(this).css({border:'orange '+(i+3)+'px solid'});
});
});
-- Klaus
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/