Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
How do you make the TextArea black in Java?
I want to make a window with a TextArea that's black. I'm making this program in Java. How can I do this? Also, will the solution work for a TextField?
3 Answers
- Anonymous4 years ago
considering the fact that Yahoo cuts off the ends of long strains i won't be able of examine, yet verify that your {}s are matched: if() { } else { } function validate(){ desires a } on the top of the function (after the return real window.alert ("your form has been despatched") area. Which would desire to be window.alert ("your form has been despatched"); return real; (consistently end issues with ; - it is not strictly needed specifically circumstances, besides the undeniable fact that it consistently works, whether it fairly is needed or no longer. And in case you upload a line, and you have strains no longer resulted in ; you could spoil your code.) additionally, you haven't any longer any action on your form: <form call="appointment" onsubmit="return validate()" action="some internet site right here"> So no longer something happens while the form is submitted. (you will generally deliver it to a Hypertext Preprocessor or asp internet site to shop the information to a database.)