0
当使用下面的代码时,我需要调用Transmit_SOAP()函数。但它没有打电话。有什么问题吗?无法调用函数
function sample()
{
var xmlSoapTemplate;
xmlSoapTemplate = new XMLHttpRequest();
xmlSoapTemplate.onreadystatechange = function() {
if (xmlSoapTemplate.readyState == 4) Transmit_SOAP()
};
}
function Transmit_SOAP()
{
alert("Function calls");
}
感谢。最后它工作。 – Mohan 2013-02-21 10:12:44