BindO

程序名称:BindO

授权协议: 未知

操作系统: 未知

开发语言:

BindO 介绍

If you’re looking for a quick and easy way to bind your Javascript objects to
jQuery events, then BindO is just for you. BindO is a jQuery plugin that makes
it possible for you to capture jQuery events with an object.

For example:

`// Form Mailer class
FormMailer = function() {
// do something here
}
FormMailer.prototype = new Object;
FormMailer.prototype.submit = function(event) {
alert(‘About to submit form’);
this.process(); // call the process function
$(event.target).fadeOut(); // fade
out #element
}
FormMailer.prototype.process = function() {
// process data here
}

// create a new instance of FormMailer
myform = new FormMailer();

// now bind the click event to myform.submit
$(‘#element’).bind(‘click’,[myform, ‘submit’]);`

BindO 官网

http://plugins.jquery.com/project/bindo

相关编程语言

多功能下拉选择插件 SelectPage 简洁而强大的下拉分...
AutoComplete 是一个 jQuery Mobile 的插件,用于实...
Combogrid 是一个jQuery插件用于为输入框添加高级自...
Autobox2这个jQuery插件,可以用于创建类似于Facebo...
Link Scraper TextBox 是一个文本框的扩展插件,当你...
Awesomplete 超小超好用的超漂亮的 autocomplete 框...