Win a copy of Java Persistence with Spring Data and Hibernate this week in the Spring 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Jeanne Boyarsky
Saloon Keepers:
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Piet Souris
Bartenders:

Real time updating flotchart values to be displayed and saved to database

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I have a real time updating flotchart and I want to show the currently plotted y-axis value in a textbox. I am new to JavaScript. This is my code:



Once it gets displayed in the textbox, will be able to fetch the number using getParameter() method in the Servlet?

This is the css file:
 
Sheriff
Posts: 67699
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Eddie Cross wrote:Once it gets displayed in the textbox, will be able to fetch the number using getParameter() method in the Servlet?


I didn't look at the code; there is too much posted without any explanation of where problems lie. But to the above question, yes, if a text control is in a form, and the form is submitted to a servlet, the value can be obtained via getParameter regardless of how the value got into the control in the first place.

(The only exception is when the form is multi-part with a file upload, but I don't think that's the case here.)
 
this is supposed to be a surprise, but it smells like a tiny ad:
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
reply
    Bookmark Topic Watch Topic
  • New Topic