Cant retrieve uuid


I am trying to display the uuid to the user but it does not work.

I get uuid on device ready like this...."$['uuID']", device.uuid);

Then I need the user to see uuid on button click event like this.
var _dev ="$['uuID']");
alert('Use the following uuid to register... ',_dev);

The alert displays with the text but does not show the uuid.
1 person has
this question