Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8261551
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T03:26:58+00:00 2026-06-08T03:26:58+00:00

Here is my html code <li class=current title=some title data-atype=some type data-aid=119697371285186601> Some text

  • 0

Here is my html code

<li class="current" title="some title" data-atype="some type" data-aid="119697371285186601">
  Some text
</li>

This is what I get from the firebug / google chrome debugger console,

>> $().jquery
"1.7.2"
>> ($('li.current:first')).data('aid')
119697371285186610
>> ($('li.current:first')).attr('data-aid')
"119697371285186601"

I searched for the issue and I could not find the exact reason and solution for the issue. If anybody could help me to find out a solution and the cause of the problem, it would be really helpful.

Thanks in advance…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T03:27:00+00:00Added an answer on June 8, 2026 at 3:27 am

    $.fn.data tries to be smart about numeric types and converts them to integers. Integers however, in JavaScript, are nothing but floats and, thus, get less precise as they approach larger values. I’d stick with attr() since that will always return a string. There is also a ticket for this but it’s marked “WONTFIX”. For more information on the limitations of large numbers in JavaScript, see this article.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is my html Code: <input type=checkbox name=test id=test /> Here i want to
not sure why I find this so difficult. Here is the html code: <tr>
I have this html code that i want to edit with jQuery. Here is
i just want to ask about my html code here, i have a bit
Here is the DEMO HTML CODE as <div id=me></div> <a id=ok href=>OK</a> jquery code:
Here is a part of my html code (video urls marked with a django-template
I want to display html code just like what your see here. <textarea><script id=ff>gdgdgs</script></textarea>
Here is an old add in to quickly comment out HTML code. Maybe I
Here's what I'm trying to do, simplified: <input rel=TimeStart> // bunch of HTML code
I have a simple situation here. lets face html code first => <form name=geoKey

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.