以下のコードを使用する場合、Transmit_SOAP() 関数を呼び出す必要があります。しかし、それは呼び出しに失敗します。何か問題ある?
function sample()
{
var xmlSoapTemplate;
xmlSoapTemplate = new XMLHttpRequest();
xmlSoapTemplate.onreadystatechange = function () {
if (xmlSoapTemplate.readyState == 4) Transmit_SOAP()
};
}
function Transmit_SOAP()
{
alert("Function calls");
}