I\'m trying to get current localisation using phonegap javascript api. Here is a sample code taken from phonegap website:
I have just tried it on PhoneGap 1.4.1, iOS Simulator 5.0 and it works fine.
What kind of error are you getting ?