插件主页:http://plugins.jquery.com/project/jQuerySubscribe
提供下面的方法
$elem.subscribe(topic, handler, data)
$elem.unsubscribe(topic)
$elem.publish(topic, data, originalEvent)
$elem.publishOnEvent(event, topic, data)
$elem.createTopic(topic)
$elem.destroyTopic(topic)
$.subscribe(topic, handler, data)
$.publish(topic, data, originalEvent)
$.createTopic(topic)
$.destroyTopic(topic)
$.subscribeHandler(name, handler)