File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes set Value in attribute Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "set Value in attribute " Watch "set Value in attribute " New topic
Author

set Value in attribute

Isaac Ferguson
Ranch Hand

Joined: Jun 22, 2012
Posts: 331
Hi,

I am setting an atribute as an integer. After that I retrieve that value from my JSP, and after that using I try to send it to Google Charts but it doesn't shows my value but when I use some thing like ['Browser', 1] it works.



Any idea?

Winston Gutkowski
Bartender

Joined: Mar 17, 2011
Posts: 7552
    
  18

Angus Ferguson wrote:Any idea?

Nope.

Why?: because you haven't given us enough information.

Winston


Isn't it funny how there's always time and money enough to do it WRONG?
Articles by Winston can be found here
Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 4168
    
  21

More details please. What is document? What type does getElementById() return? What happens when there is no element with that ID?

Steve
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

This code looks like Javascript, but the original post mentions JSP.

I see that the OP has been given a link (in another thread) to the standard article about the lifecycle of a web application's request and how JSP and Javascript can't communicate the way you might guess if you didn't know anything about that, so instead of moving the thread to the Javascript forum, I'm just going to leave it here to die.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: set Value in attribute
 
Similar Threads
Struts 2 - altering form action and submitting via a hyperlink
Launching Other Programs from Java Script
Special characters in input text value
how to forcefully log out in admin module?
DropDown : Getting Options Name