I am creating an app using Backbone.js and cordova , i created a login form and method to get the user id and password from HTML page and call the webservice login method , the problen i was facing is i am not getting the UserName and pasword from HTML , when i Executed it in machine it was working fine, but when the app is installed in my android phone it was getting null values , i tried all the possible way but no luck
var Loginname = $('#username').val(); var Password = $('#password').val();