This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "doubt" Watch "doubt" New topic
Author

doubt

meena latha
Ranch Hand

Joined: Jan 24, 2005
Posts: 219
Hi all....I have just started to learn javascript.
In the process i tried writing a program to calculate the average of 5 numbers using prompt method.Below is the program.

i am getting a blank page,but if i remove the for loop it is working.
Somebody help me to figure this out.

Also i have some basic doubt what is the link between the javascript and JSP.Can anybody explain me what javascript does and what JSP does.
Thanks in advance
[ March 17, 2005: Message edited by: ramya jp ]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
javascript does not have int

for(x=0;x<5;x++)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: doubt