Testing jquery.post in phonegap