/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function alertar() { ht = document.getElementsByTagName('html'); ht[0].style.filter = 'progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)'; if (confirm('¿Aca la pregunta?')) { return true; } else { ht[0].style.filter = ''; return false; } } //llamar usando un return delante, ej: onclick='return alertar()'