I have worked about Google Maps Javascript API I have an issue.
In my js code
var RX1 = [];
var RY1 = [];
var RX2 = [];
var RY2 = [];
var i;
try
{
for (i = 0; i < RRCount; i++)
{
RX1[i] = <%=ListBoxRX1.Items[i] %>;
RY1[i] = <%=ListBoxRY1.Items[i] %>;
RX2[i] = <%=ListBoxRX2.Items[i] %>;
RY2[i] = <%=ListBoxRY2.Items[i] %>;
}
}
catch (e)
{
alert("MSSQL 403 Hatası !! Forbidden.");
}
in this code ListBoxRX1.Items[i] i variable error is "The name 'i' does not exist in the current context"
I did everything but I didn't have found. Please help! Thanks a lot.
iis not defined.