Win a copy of Serverless Applications with Node.js this week in the NodeJS forum!
  • 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
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

summing variables  RSS feed

 
Greenhorn
Posts: 1
  • 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: 13392
221
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac Spring Ubuntu
  • 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: 24295
55
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: 24295
55
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: 67255
170
IntelliJ IDE Java jQuery Mac Mac OS X
  • 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.
 
A wop bop a lu bob a womp bam boom. Tutti frutti ad:
global solutions you can do at home or in your backyard
https://www.kickstarter.com/projects/paulwheaton/better-world-boo
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!