JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css">
<script src="http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.js"></script>
<body>
  <div data-role="page">
    <div data-role="content">
      <select name="select-1" id="select-1" multiple="multiple" data-native-menu="false" />
        <option id="option-A" value='A'>a</option>
        <option id="option-B" value='B'>b</option>
        <option id="option-C" value='C'>c</option>
      </select>
    </div>
  </div>
</body>

JavaScript

$("#select-1").change(function() {
    var mySelection = $(this).val();
    if (mySelection != null) {
        if (mySelection.indexOf('B') >= 0) {
//            $("#option-A").attr("selected", false).trigger("refresh");
        };
    };
});