Click here to Skip to main content
15,940,271 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
i have a requirement for my project.when i click for particular value in graph then it leads to my video page,where i can see videos. But now when i am clicking on graph the video page has to open from that particular value where am clicking on the graph.
var Chart_Click = function (Category, Chainage) {
if (!confirm("Are you sure you want to play video?"))

if (GetDropdownSelOption('lstGraphOnData').value != CFG.DataNature.Table_Data)
Chainage = "";

var link = GetDropdownSelOption('lstLinkId').value;
link = link.replace(":", "__");
var url = CFG.VideoUrl2 + link;
url += '?chainage=' + Chainage;

var win =, '_blank');
Updated 23-Nov-15 19:25pm
Suvendu Shekhar Giri 24-Nov-15 0:51am    
Not Clear.
Share the faulty code with more description.
Suvendu Shekhar Giri 24-Nov-15 1:07am    
Update this in the question to make it readable.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900