| author | Anthony Ly <anthonyly.com@gmail.com> |
| Wed, 19 Dec 2012 12:19:34 -0800 | |
| changeset 202 | 83193a9a9b4e |
| parent 136 | bde1974c263b |
| permissions | -rw-r--r-- |
function ExecPhp_setMessage(heading, text) { var message = '<p><strong>' + heading + '</strong> ' + text + '</p>'; var parent = document.getElementById(execphpCommonL10n.messageContainer); try { container = document.createElement("div"); container.className = "updated fade"; container.innerHTML = container.innerHTML + message; parent.appendChild(container); } catch(e) {;} }