Local Storage can be used in PhoneGap. Session Storage is also supported.
For using Local Storage,go through the documentation:
http://docs.phonegap.com/en/2.0.0/cordova_storage_storage.md.html#localStorage
window.sessionStorage provides the same interface, but is cleared between app launches.