Frage

Think of this scenario, If I add two user entries to people picker(multiple selection is permitted) field.
I need to count these entries using java script/Jquery(Output what i want is: 2).
how can I do this. Is there any built in methods??

Keine korrekte Lösung

Andere Tipps

Try this:

$('#idOfPeoplePicker div.ms-inputuserfield>span.ms-entity-resolved').length
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top