Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 4th, 2004, 10:31 AM   #1
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
Hey,

I can't see this parse error and wondered if anybody around here could help me out in finding it. The error is "Expected ";" on line 8". Anyways here's the code:

<script language="javascript">

Function selectMonth(client)

{

//////////////////////////////////////////////////////////////////////////////////

// Purpose: This function pops up a box and lets the user choose the month that //

//     they want to view in the monthly report window that this function  //

//     opens.                               //

// Date Created: 2004-10-03                           //

// Date Finished: 2004-10-03                          //

// Author: Nick Peters                             //

// Pre: You need to send the client id to this function.            // 

// Post: Opens a new window with the monthly report that the user wants.    //

//////////////////////////////////////////////////////////////////////////////////

	

	month = prompt("Please enter the month that you would like to\n view the monthly report for with the three letter\n abbreviation. Example: Mar for March.");

	

	window.open("MonthReport.asp?myClientID=" & client & "&Month=" & month, "Report");	

}

</script>

Anyways, the error is reporting back on line 8 which is the line with the <script language="javascript">. Any ideas? Thanks in advance.
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote
Old Oct 4th, 2004, 2:57 PM   #2
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
I figured it out. Might as well delete this thread.
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote
Old Oct 4th, 2004, 3:56 PM   #3
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Mind telling us what the answer was?
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:34 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC