Page 1 of 1

Offline/Online in javascript

Posted: Wed Feb 18, 2015 8:46 am
by She

Hi Team,

How can i detect if the offline/online using script?
i just want to add javascript in button when the button click. it will detect if the device is offline/online. thanks


Offline/Online in javascript

Posted: Wed Feb 18, 2015 9:21 am
by Maryna Brodina

Hello!

You would probably need to search for a solution online. Hope these links help:
http://stackoverflow.com/questions/17...
http://stackoverflow.com/questions/23...


Offline/Online in javascript

Posted: Wed Feb 18, 2015 9:41 am
by She

Thank you maryna