I’m working on an old site and i would avoid searching&replacing and i was wondering if it is possible to reaplce all alert massages function
alert('some msg');
with a jquery modal window…
i’m not asking how to do the modal window but if i can create a protoype to replace the function alert..
thanks
You can override alert:
Note that this will be non blocking though. Code after alert will execute without waiting.