i have this html.
<img src="2.png" alt="Pending" data-number="00991" data-status="0">
i am using the following jQuery to fetch the value.
var number = $(this).find('img').data('number');
above jQuery code fetches values with non-leading zeros, for example the above code will only fetch 991
instead of 00991
, what is going wrong?