jQueryServer 介绍
Unobstrusive, client-side bindings to server-side implmentation of jQuery
(actually only PHP is supported).
Scenario is simple:
- 1. Connect to server and make an Ajax request to somewhere (crossdomain allowed)
- 2. Do some manipulations, you can even trigger a server-side event
- 3. Get processed date back to browser
Example:
$.server({url: 'http://somesite.com}) .find('.my-class') .client(function(response){ $('.destination').html(response); });
This plugin is a subproject of
phpQuery , and their releases are
combined.