I have multiple input textboxes in my page. I want to reset particular text box to its onload state if certain conditions fails.
I am considering using a Hidden element to store the onload state of the textbox. I would other suggestions or solutions to resolve this issue.
I have multiple input textboxes in my page. I want to reset particular text
Share
defaultValue:Available on
text,passwordandtextarea, plusdefaultCheckedoncheckbox/radioanddefaultSelectedonoption. Curiously, not available onhidden(except in IE, where it’s considered a bug).