cordova - calling a method in js file which is defined in other js files jquery -


i have implemented method in file1.js file

function setlist(){  db.transaction(querydb, errorcb); } 

and trying call method in file2.js

$(function() {     setlist();     }); 

but method not getting called , getting error 05-19 14:05:37.545: e/web console(9341): referenceerror: can't find variable: setlist @ file

what mistake doing?

thanks:)

seems nothing wrong.

make sure file1.js imported before file2.js


Comments

Popular posts from this blog

c# - Farseer ContactListener is not working -

Automatically create pages in phpfox -

database - one php page with different contents and urls -