Hi;
I got an interesting problem.
I have a code like this:
$('.lin').click(function(){
$(#sublevels).append(span class='lin'+split[1]+/spanbr
/);
}
As you see,I have been adding span tags with class lin when another span tag
with class lin was clicked.
Problem is created span tags
:[EMAIL PROTECTED]
On
Behalf Of phplord
Sent: Thursday, March 08, 2007 12:36 PM
To: discuss@jquery.com
Subject: [jQuery] checking created items again via DOM
Hi;
I got an interesting problem.
I have a code like this:
$('.lin').click(function(){
$(#sublevels).append(span
Hi,
you could try the following:
linClick = function () {
$('.lin').unbind('click').click(
function(){
$(#sublevels).append(span
class='lin'+split[1]+/spanbr/)
linClick()
}
)
}
linClick()
--Francesco
phplord ha scritto:
Hi;
I got an