can we call or put any other java script code like jquery mobile in a function of cordova phonegap?
like i have one function below
function onOffline() {
//here i want to put another javascript
}
is it possible show me various ways.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assuming
onOfflineis a callback from the listener on the offline event (such as the one in the docs):Then you can put whatever js you like in that callback including using frameworks such as jQuery or zepto etc.