Event handler isn't called (or isn't attached)
Hi,
The problem is, that I cannot load the sites in domReady directly. I don't know why and I've search a long time, but unfortunately, I do not find the error.
Content1 works (it is called with onclick):
- <a href="#" id="content1" onclick="loadSite('content1');">Content 1</a>
Content2 does not work (it is call within domReady):
- $('#content2').click(function(){ loadSite('content2'); });
If anyone has an idea, please let me know.
Thx in advance.
Patrick