webservice.htc onLoad in Firefox, Mozilla, and Opera
- From: "Thom Little" <thom@xxxxxxxxxx>
- Date: Sat, 9 Dec 2006 11:14:52 -0500
The following page uses webservice.htc to invoke a proxy web service and it
works perfectly in Internet Explorer and Netscape. Firefox, Mozilla, and
Opera apparently do not support onLoad.
Does anyone have an example of how this type of call can be made in all five
browsers (Firefox, Internet Explorer, Mozilla, Netscape, and Opera)?
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>
--
-- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
--
.
- Follow-Ups:
- Re: webservice.htc onLoad in Firefox, Mozilla, and Opera
- From: Martin Honnen
- Re: webservice.htc onLoad in Firefox, Mozilla, and Opera
- Prev by Date: Re: autoplay MP3
- Next by Date: Re: webservice.htc onLoad in Firefox, Mozilla, and Opera
- Previous by thread: Re: Automatically Redirect Website Users to there language.
- Next by thread: Re: webservice.htc onLoad in Firefox, Mozilla, and Opera
- Index(es):
Relevant Pages
|