JSFiddle - React, Tailwind, and code Playground

by niklasvh

HTML

<input type="button" value="My task">

JavaScript

console.log($('input[type="button"][value="My task"]').val());