change last ".find('input[type!="hidden"]')" to ".find('inputSelector')"

change last ".find('input[type!="hidden"]')" to ".find('inputSelector')"