Login   Register  
PHP Classes
elePHPant
Icontem

File: test.html

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Jonathan Gotti  >  JSON RPC  >  test.html  >  Download  
File: test.html
Role: Auxiliary data
Content type: text/plain
Description: javascrip proxy usage example
Class: JSON RPC
Handle calls to JSON RPC Web services
Author: By
Last change: priority order changed
Date: 3 years ago
Size: 321 bytes
 

Contents

Class file image Download
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js" type="text/javascript"></script>
<script src="hello.php?method=jqueryProxy"></script>
</head>
<body>
<a href="javascript:jsonrpc.request('hello',['John'],function(r){alert('success:'+r)});">call Hello</a>
</body>
</html>