cordova - How to Set Up a Single Page Application in phonegap within a single HTML page? -
renderhomeview: function() { var html = "<div class='header'><h1>home</h1></div>" + "<div class='search-view'>" + "<input class='search-key'/>" + "<ul class='employee-list'></ul>" + "</div>" $('body').html(html); $('.search-key').on('keyup', $.proxy(this.findbyname, this)); },
you can follow tutorials in started.
place index.html file including other project folders in www folder. if build ios/android platforms, should copy files respective folders , can run them on device.
Comments
Post a Comment