Home › Forums › Other › jQuery, AJAX, and mediawiki › Re: jQuery, AJAX, and mediawiki
September 25, 2008 at 9:47 pm
#50143
zero
Member
Code:
var path = $(“a”).attr(“href”);
$(“a”).click(function(){
$(“#column-content”).load(path);
});
$(“a”).click(function(){
$(“#column-content”).load(path);
});
:( Didn’t work. I just ended up simplifying and minimalizing the design of the wiki, and then linking to it from an iframe in a wordpress page. Works fine. Thanks though, I’m gonna have to find a way to put this $("a").attr("href"); bit of code to good use. ;)