function createAjaxObj(){ var httprequest=false //document.domain='chinaz.com'; if (window.XMLHttpRequest){ // if Mozilla、 Safari など httprequest=new XMLHttpRequest() if (httprequest.overrideMimeType) httprequest.overrideMimeType('text/ xml'); } else if (window.ActiveXObject){ // if IE try { httprequest=new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { 試してみます
var msg = trim(document.getElementById('msg').value); var arcID = document.getElementById('arcID').value; var username = trim(document.getElementById('username').value); var pwd = trim(document.getElementById('pwd').value); var checkbox = document.getElementById('notuser'); if(checkbox.checked) var notuser = 1; else var notuser = 0;
var b= xmlhttp.responseText; var obj = eval("(" b ")"); document.getElementById('fedbk').innerHTML=obj.a; document.getElementById('fedcount').innerHTML=obj.b; document.getElementById('feedcounttop').innerHTML=obj.b;