![]() |
onLoad for webservice.htc
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> -- -- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd. -- |
Re: onLoad for webservice.htc
Question moved to another newsgroup.
-- -- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd. -- "Thom Little" <thom@tlanet.net> wrote in message news:u9$VGp1GHHA.4904@TK2MSFTNGP04.phx.gbl... > 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> > > -- > -- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd. > -- > > > |
| All times are GMT. The time now is 05:36 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.