Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Clear input value on page load
10-02-2012, 02:10 AM #1
Clear input value on page load
I was hoping someone could help. I need to clear a text input value when my page loads. any idea how I could do this with js or jquery? I need to set it to blank as oppose to reset it. It can clear all inputs if its easier. thanks guys!
Last edited by howie2009; 10-02-2012 at 02:20 AM.
10-02-2012, 02:30 AM #2
??? So then why give it a non-blank value in the first place?
But yes, trivial.
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.