JSON-RPC-Java简介(3)

时间:2025-07-07

30. <th>性别</th>

31. <th>年龄</th>

32. <th>生日</th>

33. <th>电话</th>

34. <th>地址</th>

35. </tr>

36. </tbody>

37. </table>

38. </body>

39. </html>

五、新建一JavaScript文件show.js

Js代码

1. // 定义一个JSONRPC对象

2. var jsonrpc;

3. window.onload=function(){

4. jsonrpc=new JSONRpcClient("JSON-RPC");

5. }

6. // 事件处理函数

7. function search(){

8. var userId=document.getElementsByName("userId")[0].value;

9. if(userId==null||userId==""){

10. erService.getNameList(showList);

11. erService.getNameSet(showSet);

12. erService.getNameMap(showMap);

13. }else{

14. erService.getNameById(showName,userId);

15. erService.getUserById(showUser,userId);

16. }

17. }

18. // 定义一个User类

19. function User(name,gender,age,phone,address,email){

JSON-RPC-Java简介(3).doc 将本文的Word文档下载到电脑

精彩图片

热门精选

大家正在看

× 游客快捷下载通道(下载后可以自由复制和排版)

限时特价:7 元/份 原价:20元

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219