Animate CC Html5 Input component help
Hi,
Would like to know how can add an event listener that deletes a default value in the input form?
For example: I set default value to enter zip code and when the user clicks the input field to type the number it deletes the data and puts the cursor to the beginning.
Also, is there a way to set focus to the form after some time? I partially have made this work with this code.
document.getElementById("zipCode").value = "";
document.getElementById("zipCode").focus();
Problem it doesn't work 100% all the time, sometimes just clears the input form but leaves blank with no cursor ready to type especially on ios safari/iphone.
Thanks,
Rodrigo
