I have a list which is formatted with the split button behaviour.
I run some js to format and add some extra info to the list. this runs at the start of the loop $
var d = new Date(value.start);
var info = " Starts at " + convertdate(d) + "
";
element.append(info);
This just gets a date then converts it to am/pm format and adds it to the list. All works fine except the appended info appears in the list and in the split button. Is there a way of having it only append to the left hand part of the list and not on the split button?