I have some simple code to make a link open on page load. When the code fires it shows the alert 'clicked' but then nothing happens. The url is generated with APEX and if i click the link on the page physically the alert fires and the page redirects to the linked Url. Why isn't the click event working?
Thanks! The URL it was generating was http://www.youtube.com/watch?v=8W-QxXynlF4, so it is valid, since i could click on the link with my mouse and it would work, but for some reason the .click() wouldn't. I even tried the ajax