Need help debugging a javascript?

Need help with javascript?

  • So basically I have to create a program complying with the following instructions: ①Use HTML and JAVASCRIPT to create a program where the following will appear when specific dates are keyed-in: when 3/1 to 5/31 are keyed in, "SPRING" appears when 6/1 to 8/31 are keyed in, "SUMMER" appears *however when 8/1~8/31 are keyed in, "vacation" appears in place of SUMMER when 9/1 to 11/31 are keyed in, "FALL" appears when 12/1 to 2/28 are keyed in, "WINTER" appears * however when 1/1 to 1/3 are keyed in, "New Years!" appears in place of WINTER I came up with the following program (please don't ask for references!) and I know there's something horribly wrong with the action="example.cgi" part- I'm doing some reading on it's role right now. <html> <!--Write the title of the page--> <title> Guess The Season! </title> <head> <!--Write the page header--> <h1><center>What season is it now? </h1> </head> <br> <body> <!--Replace example.cgi with? --> <form method="POST" action= "example.cgi" name= "form1"onSubmit="return check()"> <!--Create form--> <p>【YEAR(e.g:2009)】: <input type="text" name="post1" size= "15" maxlength= "10"></pr> <p>【MONTH(e.g:10)】: <input type="text" name="post1" size= "15" maxlength= "10"></pr> <p>【DATE(e.g:03)】 : <input type="text" name="post1" size= "15" maxlength= "10"></pr> <br> <br> <!--Create button--This one doesn't work either.> <p><INPUT type="submit" value="find" onClick="windows.alert(this.name+'is the season!');"> </form> <script> </html> I need help. PLEASE? Help me create the program (using only Javascript and HTML) and I'll spread your good name across the Answers AND hand you as many awards as you can. If you live in Japan, then I'll buy you dinner. Help!

  • Answer:

    wish i could help, sorry

Sylvia85 at Yahoo! Answers Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.