User:Jorgenev/AJAXSectionEditor.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 98:
var page = String(elem.href).substring(String(elem.href).search("title=")+6,String(elem.href).search("&"));
 
document.getElementsByClassName("editsection")[i].innerHTML = "[<a href=\""+elem+"\" onclick=\"javascript:PageName='"+page+"'; initsection("+i+");\" >edit</a>]";
 
i++;