When I write alert(\'Hello\')
, the page execution stops and waits for approval to continue.
I have a div setup to display as a fake alert, usi
I think this is possible using basic JavaScript. You could have the fake button set like this:
Then:
function fakeButtonValChange() {
var fakebuttonval = document.getElementById("fakeButton").value;
document.getElementById("fakebutton").value =
"clicked"
if (fakebuttonval == "clicked") {
*place stuff to show div here (i'm not good with css and that stuff)*
}