• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

summing variables

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Java World:
New here i am to try to do my first serious HTML script with embedding Java.
I have pulled together the better part but have problems displaying a calculated result.
hopefully comments will make it clear, any tips as to where to make change will be most welcome.

 
Sheriff
Posts: 13731
228
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch!

You'll have to post some code that we can look at.
 
Sheriff
Posts: 24635
56
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That sure looks like JavaScript to me, so let's move the thread over to the JavaScript forum.
 
Paul Clapham
Sheriff
Posts: 24635
56
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Tomswell Robinson wrote:hopefully comments will make it clear...



Well, actually, no they don't. There's an awful lot of code there. You didn't describe your problem in any way so I was hoping that meant you'd put some comments in the awful lot of code which described the problem and hopefully pinpointed the code which had the problem.

But no. So I'd strongly recommend describing the problem and also reposting a much smaller amount of code.
 
Marshal
Posts: 67280
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As pointed out already, that is JavaScript, not Java. Despite the unfortunate naming, they have nothing to do with each other.

The very first thing you should do is to look up how to use the browser Dev Tools. That way, you can set breakpoints and debug your code right in the browser.

That will make it much easier for you to tell us where the code is going wrong, or perhaps even see the problem(s) yourself.
 
Watchya got in that poodle gun? Anything for me? Or this tiny ad?
Enterprise-grade Excel API for Java
https://products.aspose.com/cells/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!