How is jQuery.data() calculating the id?
I'm using code simar to:
$.fn.myPlugin = function() {
return this.each(function() {
console.log($.data($(this).parent().parent()));
$(this).blur(function(e) {
$.myPlugin.test($(this).parent().parent());
});
}
};
How is jQuery.data() calculating the id?
I'm using code simar to:
$.fn.myPlugin = function() {
return this.each(function() {
console.log($.data($(this).parent().parent()));
$(this).blur(function(e) {
$.myPlugin.test($(this).parent().parent());
});
}
};
$.my
Hello
I'm creating a plugin that enhances an input element in a form. The
plugin makes use of, among other things, the keydown event.
The problem I'm seeing is that when I run:
$.fn.myPlugin = function(e) {
return this.each(function() {
$input = $(this);
$input.keydown(myFun
3 matches
Mail list logo