Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

reset form 1

Status
Not open for further replies.

TruthInSatire

Programmer
Aug 12, 2002
2,964
US
How do i reset a form without using a reset button. ie. a hyper link or a plane button that calls a function. How many software developers does it take to change a light bulb?
None: it works in everyone else’s office, it must work in yours too.
 
form.reset()

this is a built in function in javascript
correct syntax is
document.formname.reset()

case sensitive. no upper!!! A language that doesn't affect the way you think about programming is not worth knowing.
admin@onpntwebdesigns.com
 
thank you. I was trying document.reset(); brain fart on my part. How many software developers does it take to change a light bulb?
None: it works in everyone else’s office, it must work in yours too.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top