add, remove, and clear input jquery