User:Tnsmanyu/common.js

$(document).ready(function{ $('#mw-content-text').before($(' '));  $("#wpTextbox1").keyup(function{ var api = new mw.Api; var req = api.get({action:'parse',title:$("#firstHeading span").text.split(" ")[1],text:$("#wpTextbox1").val,prop:'text'}); req.done(function(data){      $('.hi').html(data.parse.text['*']);    }); }); });