Day: March 24, 2015

  • Clear input field

    This code clears a text input field if it is the default text specified in the js. This can be used for things like search boxes or text fields in a form. To use it, add in the js: clearInput(“inputClass”,”defaultText”); where “inputClass” is the class of the text field and “defaultText” is the default text…