T
Thom Little
The following page uses webservice.htc to invoke a proxy web service and it
works perfectly in Internet Explorer and Netscape. Opera and Firefox
apparently do not support onLoad.
Does anyone have an example of how this type of call can be made in all four
browsers (Internet Explorer, Netscape, Opera, and Firefox)?
What was the source of your information?
<html><head><title>Consume Count Service</title>
<script>
function tlaCL( strParm )
{
tlaCountService.useService( "Service/CountService.asmx?WSDL", "tlaCF");
tlaCid = tlaCountService.tlaCF.callService("count", strParm );
}
function tlaCR( )
{
tlaCount.innerText = event.result.value ;
}
var tlaCid ;
</script>
<div id="tlaCountService" style="behavior:url(webservice.htc)"
onresult="tlaCR()"></div>
</head>
<body onload="tlaCL('tlanet.net/index.html')" onresult="tlaCR( )">
<center><span id="tlaCount">·</span></center>
</body></html>
works perfectly in Internet Explorer and Netscape. Opera and Firefox
apparently do not support onLoad.
Does anyone have an example of how this type of call can be made in all four
browsers (Internet Explorer, Netscape, Opera, and Firefox)?
What was the source of your information?
<html><head><title>Consume Count Service</title>
<script>
function tlaCL( strParm )
{
tlaCountService.useService( "Service/CountService.asmx?WSDL", "tlaCF");
tlaCid = tlaCountService.tlaCF.callService("count", strParm );
}
function tlaCR( )
{
tlaCount.innerText = event.result.value ;
}
var tlaCid ;
</script>
<div id="tlaCountService" style="behavior:url(webservice.htc)"
onresult="tlaCR()"></div>
</head>
<body onload="tlaCL('tlanet.net/index.html')" onresult="tlaCR( )">
<center><span id="tlaCount">·</span></center>
</body></html>