[jQuery] Remove doenst work on dynamically created li

[jQuery] Remove doenst work on dynamically created li


Hi,
I'm new, so to all of you HELLO Smile.
Btw, im Dutch so maybe my English isnt that good.
I love Jquery but i've got some starting problems.
Live demo:
http://pauldulong.nl/jquery/dgm.php#
When I click on the X the tab disappears, perfect, as it should be.
But when I create a new tab and try to remove that one it doesn't do
anything.
What im I doing wrong?
Dimby - Paul du long