var zaobanvalue=document.getElementById("zaoban").value;SimpleWebService.HelloWorld(escape(zaobanvalue.toString()));
很简单,只要加escape就行哈哈