Created by: envex
Checks if the element is an input and changes the value instead of the html. Also sets the resetText value to val if the element is an input.
Created by: envex
Checks if the element is an input and changes the value instead of the html. Also sets the resetText value to val if the element is an input.