I am creating phonegap project using cordova 3.4.0. I check the network connect is enable on while start the application. I installed cordova network-information plugin. The following codes are i am using.
if(navigator.network.connection.type == Connection.NONE){
alert("nocon");
}else{
alert("yescon");
}
It's working fine. But i want to display conform box for no network connection. One button for settings and another one for cancel. If i click setting button, it will go to wifi-setting option. And if i click cancel button, app will exit. How can i do this. Please guide me.