niche Posted September 21, 2010 Share Posted September 21, 2010 how do you reset checkboxes to blank? Link to comment Share on other sites More sharing options...
jeffman Posted September 21, 2010 Share Posted September 21, 2010 Under what conditions does this need to happen? When a button clicks? When the page is refreshed? The usual tool is JavaScript. Here is an example: http://www.w3schools.com/jsref/prop_checkbox_checked.asp Link to comment Share on other sites More sharing options...
niche Posted September 21, 2010 Author Share Posted September 21, 2010 on refresh. Link to comment Share on other sites More sharing options...
jeffman Posted September 21, 2010 Share Posted September 21, 2010 That's hard. It's a convenience feature browsers added. HTML5 has a fix. A lot of new browsers have adopted it, but I don't remember which ones. Anyway, add this to your input tag:autocomplete="off"It'll work some places, some places not. That's better than nothing.Maybe someone else knows a cache-expiration trick? Link to comment Share on other sites More sharing options...
niche Posted September 21, 2010 Author Share Posted September 21, 2010 That works! Thanks to Deirdre's Dad. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.