I need this button :
<div class="myButton" id="clearBefore">Click Me</div>
To change the 'content' in the pseudo class ":before" to 'text'.
CSS
.ms-ChoiceField-input:before{    content:'Old content'; }
/*after button click content changes*/
.ms-ChoiceField-input:before{    content:'New Content'; }
HTML
<div class="checkboxHiddenSelectContainer" data-toggle="filterList" style="display: block;">
     <div class="ms-ChoiceField">
        <input class="ms-ChoiceField-input">
        <label class="ms-ChoiceField-field"">
           :before
           <span class="ms-Label">Function</span>
           :after
        </label>
     </div>
    </div>
 
     
     
    