Hi, I have also the same your problem. I try to found many ways to fix it.
And final I found it. Cause is "webservice.htc" file. This file must include
declare "useService" method. You can download this file to replace your
file.
Chinh Tran.

-----Original Message-----
From: scaevola637 [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 01, 2004 12:39 AM
To: [EMAIL PROTECTED]
Subject: [AspNetAnyQuestionIsOk] Re: JavaScript error

no, there is a div that has the call, for some reason when I copied 
it did not come through.  What puzzles me is the error message 
concerning JSCRIPT when the script block is JAVASCRIPT.  Is this a 
problem?


--- In [EMAIL PROTECTED], "Peter Brunone" 
<[EMAIL PROTECTED]> wrote:
> 
> ���Why are you assuming that the DIV tag has a method called 
useService?� I'd say that's your problem.
> 
>  From: "scaevola637" [EMAIL PROTECTED]
> 
> I received this error:
> 
> Microsoft JScript runtime error: Object doesn't support this 
> property or method
> 
> from this call:
> Service.useService("http://localhost/Ders23/TemperatureService.asmx?
> WSDL","Service");
> }
> 
> in this block of code:
> 
> var intCallID = 0;
> 
> function Init()
> {
>  Service.useService
> ("http://localhost/Ders23/TemperatureService.asmx?WSDL","Service";);
> }
> 
> function Service_Result()
> {
>  lblCelsius.innerText = event.result.value;
> }
> 
> function Button_Click()
> {
>  intCallID = Service.TemperatureService.callService( "ToCelsius", 
> txtFahrenheit.value );
> }
> 
>  id="Service" 
> style="behavior:url(webservice.htc)"
> onresult="Service_Result()">
> 
> Fahrenheit:
>  Type="Button"
> Value="Convert!"
> OnClick="Button_Click()">
> 
> ----------------------------------------
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> [Non-text portions of this message have been removed]




 
Yahoo! Groups Links



 


[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to