jquery/jquery-mobile — Issue #3001: .jqmData() parse wrong strings as numbers
Author: Belelros
Created: 2011-11-09 12:52:50+00:00
State: open

I've found that using the .jqmData() method with a data attribute like the following one, returns a number and not a string, thus removing the leading 0:

```html
Platform 9 3/4

```

```javascript
console.log($(this).jqmData('platform'));
```

That returns 9 and not 09.

Version: 1.0 RC2