Basically I have a string variable and i pass this string variable to javascript function using the code below.
Chart1.Series["Series1"].Points[counter].MapAreaAttributes = "onmouseover=\"showAlert("+tempString+",event);\"";
my javascript function is as follows:
function showAlert(stringVal,ex) {
//var temp = document.getElementById("HTxtFieldPopIp").value;
// temp = "testing";
// alert(temp);
alert(stringVal);
}
But this doesnt give me a alert box.
When i remove the parameter and run the commented pieces of code the same happens. Any suggestions.