title: Clickable Font Awesome Icon inside Input
body: <p>I currently have a font awesome icon that is positioned over an input field. I would like the icon to be clickable, but I can't seem to get it to work. I have wrapped it in a span, and changed the span curser, but it does not appear to be having any effect.</p>
  
  <p>Here's the code:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.inner-addon {
    position: relative;
  }
  .inner-addon .fa {
    position: absolute;
    padding: 10px;
    pointer-events: none;
  }
  .left-addon .fa {
    left: 0px;
  }
  .right-addon .fa {
    right: 0px;
  }
  .left-addon input {
    padding-left: 30px;
  }
  .right-addon input {
    padding-right: 30px;
  }
  #locationClickableIcon {
    cursor: pointer;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code> &lt;span id="locationClickableIcon"&gt;&lt;i class="fa fa-crosshairs" id='autolocate'&gt;&lt;/i&gt;&lt;/span&gt;
  &lt;input type="text" id="address" placeholder="Zipcode" value="" /&gt;</code></pre>
  </div>
  </div>
  </p>