You either need to put this code in the load callback to be actioned after the element has been created, or use the live function instead to bind to current and future elements:
Okay thank you! But when I want to use some jQueryUI functions like .draggable() it also does't work. Isn't there any chance to bin the whole loaded content to the dom so I can use every jQuery function?