jquery.jtag.js
// Actually add the list of new tags in the <ul>/<li> list
Actually add the list of new tags in the / list
Actually add the list of new tags in the / list
function doAddTags($this, tagListElem, labelsArray){
		var label;
		var duplicateLabel;
		for (labelIndex in labelsArray) {
			label = $.trim(labelsArray[labelIndex]);
			duplicateLabel = $(" .jTagLabel[alt=" + label+ "]", $($this.tagList));
			if (duplicateLabel.length > 0) {
				duplicateLabel.fadeOut(50).fadeIn(350).fadeOut(50).fadeIn(350).fadeOut(50).fadeIn(350);
			} else {
				newTagElem = opts.tagEditTemplate(label);
				$(tagListElem).append(newTagElem.hide().fadeIn(300));
				bind_remove_onClick(newTagElem, label);
			}
		}
	}
function doAddTags ( $this , tagListElem , labelsArray ) { var label ; var duplicateLabel ; for ( labelIndex in labelsArray ) { label = $ . trim ( labelsArray [ labelIndex ] ) ; duplicateLabel = $ ( " .jTagLabel[alt=" + label + "]" , $ ( $this . tagList ) ) ; if ( duplicateLabel . length > 0 ) { duplicateLabel . fadeOut ( 50 ) . fadeIn ( 350 ) . fadeOut ( 50 ) . fadeIn ( 350 ) . fadeOut ( 50 ) . fadeIn ( 350 ) ; } else { newTagElem = opts . tagEditTemplate ( label ) ; $ ( tagListElem ) . append ( newTagElem . hide ( ) . fadeIn ( 300 ) ) ; bind_remove_onClick ( newTagElem , label ) ; } } }
Actually add the list of new tags in the <ul>/<li> list
Actually add the list of new tags in the <ul > / <li > list