JSFiddle - React, Tailwind, and code Playground

by basarat

JavaScript

var i=1;
var input = $('input[name=todo'+i+']').val();