Ajax结果
if(jsonObj.result =="Nomarket")
{
alert(jsonObj.result);
//SET VALUE TO releaseidTD and Hidden field
var tdElem = document.getElementById ("releaseIdTD" );
tdElem =jsonObj.result;
}else
{
alert(jsonObj.result);
var tdElem = document.getElementById ("releaseIdTD" );
tdElem =jsonObj.result;
}
答案 0 :(得分:1)
您想要更新元素的html
document.getElementById("releaseIdTD").innerHTML= jsonObj.result;