Yes, I posted the link in my first post where I got this code from.
I was thrown by how the function arguments are shown. I added the call in the timer with the two functions per your last reply and help and the console is showing the correct messages now.
Using Chrome I am still seeing the “GET
https://mywebsite.com/test3.php net::ERR_INTERNET_DISCONNECTED” message in the console when I disconnect the wifi but I’m guessing that won’t hurt anything as long as the correct messages are being caught (and it seems they are). In FF that message does not display at all, just the yes() no() messages.
Thank you very much for your help.