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