MediaWiki:Common.js: Difference between revisions

mNo edit summary
mNo edit summary
Line 2: Line 2:
$(function() {
$(function() {
var hid = $('#epiphanyhelptext').attr('data-id');
var hid = $('#epiphanyhelptext').attr('data-id');
alert(hid);
$.get("http://epiphanywiki.crystalcomputer.com/tests/helptext.php?hid=" + hid, function(data) {
$.get("http://epiphanywiki.crystalcomputer.com/tests/helptext.php?hid=" + hid, function(data) {
alert(data);
$('#epiphanyhelptext').html(data);
$('#epiphanyhelptext').html(data);
});
});
});
});