Adding custom attributes makes your HTML invalid. Use custom data attributes instead:
<strong id="the_id" data-original-title="I NEED THIS">
$('#the_id').data('original-title')
More Related Contents:
- how do i submit message to my email by html or js?
- JS hide function error
- Javascript counting all the characters from a HTML document
- How to create button to check uncheckable checkbox
- How to get numeric value from a prompt box? [duplicate]
- JSFiddle code not working in my own page
- How to set value of input text using jQuery
- Uncaught Error: SECURITY_ERR: DOM Exception 18 when I try to set a cookie
- How to dynamically create ‘@-Keyframe’ CSS animations?
- Infinity Loop Slider Concepts
- Check Ctrl / Shift / Alt keys on ‘click’ event
- Why does Jquery only affect the first div element? [duplicate]
- Set date in input type date
- Text blinking jQuery
- jQuery vs document.querySelectorAll
- How to mute an html5 video player using jQuery
- HTML5 callbacks?
- How to save the contents of a div as a image?
- Saving and loading an image from localStorage
- Can we use the value of localStorage from other domains?
- jQuery DataTables “No Data Available in Table”
- Gaussian Blur onHover Using jQuery
- minimise the code since I am using the same code only the content in p tags changes and component AccordionHeader header changes
- Rotate div text after clicking on button using jquery and css
- How to hide optgroup/option elements?
- how to use html2canvas and jspdf to export to pdf in a proper and simple way
- Hot to get incomplete datetime-local input values
- Content of html page changed by jQuery but “View Source” don’t reflect the changes
- Do duplicate ID values screw up jQuery selectors?
- Can you have multiple lines in an element?