Click here to Skip to main content
15,910,981 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.
JavaScript
var Chart_Click = function (Category, Chainage) {
if (!confirm("Are you sure you want to play video?"))
return;

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

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

//VideoPlayer
var win = window.open(url, '_blank');
win.focus();
};
Posted
Updated 23-Nov-15 19:25pm
v2
Comments
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