onLoad for webservice.htc

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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top