jQuery プラグインを作成しようとしています。
$.fn.examplePlugin = function() {
$.item = $(this);
$(this).hide('fast',function () {
return 'bla';
});
}
関数で結果を表示する必要があります。
$('form').examplePlugin(function(data)) {
alert('data'); // need to return 'bla'
});