Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 307
  • Last Modified:

How to get value from Google Visualization Org Chart when any item is clicked?

I am using Google Visualization API Org Chart to generate a hierarchy on a web page. To generate the chart, I am passing ID and Name as parameters to the Org Chart generate method.

When the chart gets generated, I want to get the Id from the rectangle where user clicked and want to store it in a Session Variable.

How to retrieve the ID from the rectangle on click event?
0
rpkhare
Asked:
rpkhare
1 Solution
 
rpkhareAuthor Commented:
Thank you. I am checking these links and will try the code in these links.

One more thing I want to know is that the events discussed in these links will return value as a javascript variable. I want to store this javascript to a session variable.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now