怎样HTML使用从webservice返回的值
webservice的方法如下:
<WebMethod(Description:="Service Test :Hello World")> _
Public Function getTestHellowWorld() As String
Return "HelloWorld"
End Function
HTML中的代码部份如下:
<FORM Method="Get"
action=http://localhost/miWebService/getperson.asmx/getTestHellowWorld name=frm1>
<TD>Test 1: return stirng from web service:<BR>
<INPUT type=submit value="Hellow World" >
<INPUT size=50 name=ValueInKilograms>
</TD>
</FORM>
问题:
1、点击"hellow world"后,会得到一个新页(能不能不刷新?)
2、如何将得到hellow world显示在ValueInKilograms box 中?
如果能email:bingcaicai@sina.com
不胜感谢!