Dear All,

I got a doubt,Please clear it.

This is the current Code



below code is in XML

LinkStr = "' link='javaScript:updateChart( "" + FuncName + "","" + (String) map.get("status_name") + "",""



+ DrillDownKPI + "" [Wink] ' />";






and this is the updateChart javascript function (XMLchart.js)
function updateChart(Mngmnt,stutus,kpi,serviceID)

{

var strURL = "ChartServlet?GM=" + Mngmnt + "&status=" +stutus + "&kpi=" +kpi;

strURL = escape(strURL);

var chart_CityDetails = new FusionCharts('FusionCharts/StackedBar3D.swf?ChartNoDataText=Click right chart to view Services Details', 'ServDetails', '550', '450', '0', '1');

chart_CityDetails.setDataURL(strURL);

chart_CityDetails.render(Mngmnt+kpi+"ServDetailsDiv");

}



I want to pass a new parameter 'condQuery ' query with the link in XML

i tried this

LinkStr = "' link='javaScript:updateFusionChart( "" + condQuery + "","" + FuncName + "","" + (String) map.get("status_name") + "",""



+ DrillDownKPI + "" [Wink] ' />";







and updated javascript function as



function updateChart (condQuery,Mngmnt,stutus,kpi,serviceID){



var strURL = "ChartServlet?GM=" + Mngmnt + "&status=" +stutus + "&kpi=" +kpi+ "&condQuery=" +condQuery;

strURL = escape(strURL);

var chart_CityDetails = new FusionCharts('FusionCharts/StackedBar3D.swf?ChartNoDataText=Click right chart to view Services Details',

'ServDetails', '550', '450', '0', '1');

chart_CityDetails.setDataURL(strURL);

chart_CityDetails.render(Mngmnt+kpi+"ServDetailsDiv");

}


But after execution it was showing as Invalid XML Data. Is there any problem with the parameter passing ??

Any help will be appreciated...