title: jquery on click confirm OneLiner
body: <p>I am using the jQuery plugin confirm. For these I react to dynamic content on the page, which I realize with the following code:</p>
  <pre><code>$('body').on('click', '[class*=&quot;fa-toggle-on&quot;]', function (e) {
    $.confirm({
  </code></pre>
  <p>Is there a way to build these two lines as a one-liner?</p>