How do I reset the value of a text input when the page reloads?

You can use plain old HTML :)
Set autocomplete='off' in the attribute
 type='text' value='default text' autocomplete='off' />
This works on most modern browsers.

Comments

Popular posts from this blog

Script For Login, Logout and View Using PHP, MySQL and Bootstrap

Real-Time Web Interface to MQTT using Socket.io and Node.js

Customize radio buttons and checkboxes with CSS sprites