> - When i click on the logout-button directly after i logged in, the > click-event is not captured via javascript.
How is the click event being attached to the logout button after it's created? > - A quick look into the generated page source tells me why: The logout- > button is _NOT_ existent in the page source-code although i can SEE > that logout-button when i look at the website in my browser. dynamically generated html is not shown when you hit 'view source'. If you really need to look at it there's a plugin for firefox called the 'dom explorer' that's really useful for that. it lets you poke around and see the structure of the page.

