function
get_country_Result_CallBack(response)
... {
if (response.value != null)
...{
document.all("countrylist").length=0;
var tmpDr = response.value;
var _country = document.getElementById("country");
for (var i=0 ; i < tmpDr.Rows.length; ++i)
...{
if (tmpDr.Rows[i].CountryCode == _country.value)
...{
var name=tmpDr.Rows[i].Name;
var id=tmpDr.Rows[i].CountryCode
document.all("countrylist").options.add(new Option(name,id));
document.all("countrylist").options[i].selected =true;
}
else
...{
var name=tmpDr.Rows[i].Name;
var id=tmpDr.Rows[i].CountryCode
document.all("countrylist").options.add(new Option(name,id));
}
}
}
return
}
... {
if (response.value != null)
...{
document.all("countrylist").length=0;
var tmpDr = response.value;
var _country = document.getElementById("country");
for (var i=0 ; i < tmpDr.Rows.length; ++i)
...{
if (tmpDr.Rows[i].CountryCode == _country.value)
...{
var name=tmpDr.Rows[i].Name;
var id=tmpDr.Rows[i].CountryCode
document.all("countrylist").options.add(new Option(name,id));
document.all("countrylist").options[i].selected =true;
}
else
...{
var name=tmpDr.Rows[i].Name;
var id=tmpDr.Rows[i].CountryCode
document.all("countrylist").options.add(new Option(name,id));
}
}
}
return
}