mirror of
https://github.com/jquery/jquery.git
synced 2026-02-06 15:45:14 -05:00
Ticket #6804. Adds a changeData event.
This commit is contained in:
committed by
John Resig
parent
6a0942c9d5
commit
2e10af143b
@@ -129,6 +129,7 @@ jQuery.fn.extend({
|
||||
} else {
|
||||
return this.trigger("setData" + parts[1] + "!", [parts[0], value]).each(function() {
|
||||
jQuery.data( this, key, value );
|
||||
jQuery.event.trigger( "changeData" + parts[1] + "!", [parts[0], value], this );
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user