���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 Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/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/