| Author |
set Value in attribute
|
Angus Ferguson
Ranch Hand
Joined: Jun 22, 2012
Posts: 240
|
|
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: 4739
|
|
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?
|
 |
Steve Luke
Bartender
Joined: Jan 28, 2003
Posts: 3028
|
|
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: 16483
|
|
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.
|
 |
 |
|
|
subject: set Value in attribute
|
|
|