JSFiddle - React, Tailwind, and code Playground HTML <input name="a.b.c" value="works for me" /> JavaScript alert($('[name="a\\.b\\.c"]').val());