Side navigation
#12060 closed bug (duplicate)
Opened July 11, 2012 04:18PM UTC
Closed July 11, 2012 04:33PM UTC
Last modified July 11, 2012 04:33PM UTC
Doesn't read data parameter correctly
Reported by: | jquery@mthie.com | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The HTML file (shortened):
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script> <div class="item" id="item" data-videoid="10150620056663015">Test</div>
When I call:
$('#item').data('videoid')
I get the videoid 10150620056663016 (last number changed)