JSFiddle - React, Tailwind, and code Playground

by Timmy Willison

HTML

<script src="http://code.jquery.com/jquery-1.6.1.min.js"></script>
<cite id="test" value="this occurs with jquery-1.6.1">abc</cite>

JavaScript

if( jQuery.fn.jquery == '1.6.1' ){
    console.log( "the 'value' attribute of #test is:", jQuery('#test').attr('value') );
    console.log( "but actually the value is:", jQuery('#test').get(0).getAttribute('value') );
}