Hi,
I have a popup window but the content that should be displayed dynamically is not displayed
if(parseInt(mark[1].substring(0,2))>80)
{
$("#dialog").dialog({
title: markerData[i].address + " v/c: "+ parseInt(mark[1].substring(0,2)),
content:parseInt(mark[1].substring(0,2)),
width: "300px",
hight:"200px",
font: "font-family:Arial; font-size:5px; ",
buttons: {
Close: function () {
$(this).dialog('close');
},
}
});
}
Can anybody help me why please?
Thanks
Sushil GuptaPosted Dec 15, 2014, 3:31 PM
if(parseInt(mark[1].substring(0,2))>80)
substring(0,2) how will be greater than 80?
You can put else part and see if else is executed or not.