jQuery MasterBlaster – 回车生成标签可删除

jQuery MasterBlaster – 回车生成标签可删除45
var $mb = $( ".masterblaster-1" );$mb.masterblaster( {   tagRules: {    unique: true,    minLength: 3  }} );$mb.masterblaster( "push", "tag 1" );$mb.masterblaster( "push", "tag 2" );$mb.on( "mb:add", function( e, tagName ) {    console.info( "Added: tagName" );} );  $mb.on( "mb:remove", function( e, tagName ) {    console.info( "Removed: tagName" );} ); 

也许你还喜欢