select: function( event, ui ) {
var terms = split( this.value );
// remove the current input
terms.pop();
// add the selected item
terms.push( ui.item.value );
// add placeholder to get the comma-and-space at the end
terms.push( "" );
// terms is an array, we create a CSV string to update the value of the input
this.value = terms.join( ", " );
return false;
}
dim k as string="Employee1, Boutros William Ton,Partner, Employee2, "
This will result in an array of 4 items.
i select 1, test
then 2 'test2'
i need to fill into an array these 2 values
please help