function getXMLHTTP() {
var xmlhttp=false;
try
{
xmlhttp=new XMLHttpRequest();
}
catch(e) {
try{
xmlhttp= new ActiveXObject("Microsoft.XMLHTTP");
}
catch(e){
try{
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
}
catch(e1){
xmlhttp=false;
}
}
}
return xmlhttp;
}
function display_state(countryIdTEXT)
{
var countryId = countryIdTEXT;
alert(countryId);
if(countryId !='')
{
var strURL="select_state.php?con_name="+countryId;//alert(cate_id);
alert(strURL);
var req = getXMLHTTP();
if (req) {
req.onreadystatechange = function() {
if (req.readyState == 4) {
// only if "OK"
document.getElementById('content').innerHTML=req.responseText;
}
}
req.open("GET", strURL, true);
req.send(null);
}
}
}
function getXMLHTTP() {
var xmlhttp=false