I want to check the contents of the alert before it "alerts".
I have this function:
function alert(msg) {
// THIS WILL CHECK IF THE WORD FUNCTION IS EXISTING IN A STRING
var searchFunction = jQuery.type(msg);
if(searchFunction != 'function')
{
return;
}
}
However, I don't know how to "alert" since I modified the alert function already.
Thanks in advance!