JSFiddle - React, Tailwind, and code Playground JavaScript var i = $('input'); if (i.attr('id', undefined) != i) alert('Y U NO WORK?')