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


Win a copy of Java 8 in Action this week in the Java 8 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: 321
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: 7081
    
  16

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?
Artlicles by Winston can be found here
Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 3968
    
  17

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: 18152
    
    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
DropDown : Getting Options Name
how to forcefully log out in admin module?
Launching Other Programs from Java Script
Special characters in input text value
Struts 2 - altering form action and submitting via a hyperlink