This is a crazy one. I have been using Jquery fine on building my site. I have an admin section in another folder.
Jquery is not working if it is inside a function. I've tested with this:
If I put the alert above the function - the alert comes up. Inside the function it doesn't.
Thanks for your help.