aspose 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
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: 389
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: 8207
    
  23

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: 4181
    
  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: 18902
    
    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.
 
wood burning stoves
 
subject: set Value in attribute