| | |
Problem in Default Value of Check Box
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jul 2007
Posts: 2
Reputation:
Solved Threads: 0
Hi Friends,
I have a form which contains elements such as check boxes,text box,text area ., Problem is in Check boxes.
By default, Check boxes are unchecked and text boxes are blank. I clicked one check box, entered some values in text boxes. then After a page refresh ,the values of text boxes are cleared.But the check box is appears with check mark. the default value (unchecked) is not restored... Why? How can i clear the check box value on refresh?
Please Help me as soon as possible...
I have a form which contains elements such as check boxes,text box,text area ., Problem is in Check boxes.
By default, Check boxes are unchecked and text boxes are blank. I clicked one check box, entered some values in text boxes. then After a page refresh ,the values of text boxes are cleared.But the check box is appears with check mark. the default value (unchecked) is not restored... Why? How can i clear the check box value on refresh?
Please Help me as soon as possible...
That's interesting, because when I refresh the page, the text boxes are cleared only if I replaced the HTML file before the refresh while developing a web page. I have been leaving my test data in the boxes and using them again after changing the JavaScript and refreshing.
Put a reset button on the page. That clears all fields.
Note that the JavaScript value for a checked box is true, and an unchecked box has a value of false.
Put a reset button on the page. That clears all fields.
Note that the JavaScript value for a checked box is true, and an unchecked box has a value of false.
Daylight-saving time uses more gasoline
![]() |
Similar Threads
- tree control view with check box (C#)
- EXCESSIVE popups and redirecting...HELP! (Viruses, Spyware and other Nasties)
- Nasty Persistant Hijack - gb10.hpwis.com (Viruses, Spyware and other Nasties)
- help with download.trojan (Viruses, Spyware and other Nasties)
- Computer keeps restarting (Viruses, Spyware and other Nasties)
- Msconfig Won't Open (Windows NT / 2000 / XP)
- I have a virus that disables my virus protection and tries to shut down my computer! (Windows NT / 2000 / XP)
- Need a data recovery solution ASAP (Troubleshooting Dead Machines)
- check box (ASP)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Debug WebApp in IE7
- Next Thread: javascript function not working in firefox
Views: 3737 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for JavaScript / DHTML / AJAX
acid2 ajax ajaxcode ajaxhelp animate api array automatically autoplay beta boarder box bug button calendar captcha card cart codes column cookies css cursor date debugger decimal design developer dom download dropdown element enter error events firefox firehose flash focus form frameworks getselection google gwt html htmlform iframe image() index java javascript javascripts jawascriptruntimeerror jquery jsp listbox maps marquee masterpage menu microsoft mimic mp3 mp4 offline onmouseover parameters php player post problem programming progressbar prototype rating redirect regex safari scale scriptlets search select size sources sql starrating text textarea toggle twitter validation variables w3c web website window windowofwords windowsxp xml xspf






