You may want to read the docs before posting on SO:
The plugin automatically adds class="placeholder" to the elements who are currently showing their placeholder text.
So, if your user enters a phone number, the placeholder
class will be removed by the plugin. You can check for that class using $("input#phoneNumber").hasClass("placeholder")
.