Javascript for inputs

Hey guys Im trying to make my forms more responsive with the javascript plugin. I am trying to hide a group when a value has 4 integers, any idea where im going wrong with this snippet?

$("#ssnInput").keyup(function() {
  if ($("#ssnInput").val().toString().length == 4) {

This topic was automatically closed after 70 days. New replies are no longer allowed.