User:Willbachbakal/common.js/flipText.js

function changeText {   var elem = document.getElementById("texttochange"); var oldtext = elem.innerHTML; var newtext = elem.title; elem.innerHTML = newtext; elem.title = oldtext; }