JSFiddle - React, Tailwind, and code Playground
by John Doe
HTML
<p class="this">kaka</p>
<p id="haha"></p>
<select id="that">
<option value="1"> 1 </option>
<option value="2"> 2 </option>
<option value="3"> 3 </option>
</select>
JavaScript
$(document).ready(function(){
/*var href = jQuery(location).attr('href');*/
var href= jQuery('this').html;
jQuery('.this').html(href);
$('#that').val(3);
jQuery('#current_title').html(href);
});