JSFiddle - React, Tailwind, and code Playground

by Eric L

HTML

<input type="text" class="blah" id="shipments0.fullLoadPercent" name="shipments[0].fullLoadPercent" value="90">
<input type="checkbox" class="blah2" id="shipments0.autoMove" name="shipments[0].autoMove" value="false">

JavaScript

alert($("#shipments0.fullLoadPercent").val());
alert($('[id="shipments0.fullLoadPercent"]').val());

$('input[id^="shipment"]').change(function(){
 alert($(this).val());
 
});