
tak ze jak w php napisze echo '<script>.....</script> '; to zeby ta funkcja mi się wyswietlila...
//Alertify JS $ = function (id) { return document.getElementById(id); }, reset = function () { $("toggleCSS").href = "css/alertify.core.css"; alertify.set({ labels: { ok: "OK", cancel: "Cancel" }, delay: 5000, buttonReverse: false, buttonFocus: "ok" }); }; // Standard Dialogs $("alert").onclick = function () { reset(); alertify.alert("This is an alert Dialog"); return false; };