0

I'm a first time user of jQuery (and a huge fan already). I am trying to make the comic picture of an xkcd page onclick to the explanation page.
Here's what I've done.
$("#comic").click(function(){return window.open("http://www.explainxkcd.com/wiki/index.php/" + document.URL.split("/")[3]);});
...