How to get the connected wifi network name
You can use plugin wifiWizard for this. Plugin can be used as follows to get current ssid information.
function ssidHandler(s) { alert("Current SSID"+s);}function fail(e) { alert("Failed"+e);}function getCurrentSSID() { WifiWizard.getCurrentSSID(ssidHandler, fail);}
Refer this question for more details