i tring to do the function CityService.GetCityName , this function get CityID and give back the CityName. when i push on the function some number it is working but when i put var or somthing like this that put error and a red underline on the var. i tried to do console.log(cityID) and it was good id,and int.
var cityID = parseInt(<%=((User)Session["User"]).CityID%>);
$("#OrderLocation").text("<%=CityService.GetCityName(cityID)%> <%=((User)Session["User"]).UserLocation %>");
some help please ?