JSFiddle - React, Tailwind, and code Playground

by Neal

JavaScript

var $obj = jQuery('<div>xx<input type="text" value="" />xx</div>');
$obj.find('input').attr('value','testing');
console.log($obj.html());