JSFiddle - React, Tailwind, and code Playground by RoryMcCrossan November 07, 2013 HTML <input type="text" name="foo" id="foo" readonly="true" /> JavaScript $('#foo').val('Foobar');