title: Set focus after a particular item in an inputbox in jquery/javascript
body: <p>So lets say I have an input box that looks something like this:</p>
  
  <pre><code>&lt;input id="fuzzyname" value="" placeholder="&amp;Fuzzybear"&gt;
  </code></pre>
  
  <p>I want to use javascript/JQuery so that when I click in that input box it will put the cursor after the &amp; and the placeholder becomes the value in the input box.</p>
  
  <p>This is kind of what I have so far:</p>
  
  <pre><code>$("#fuzzyname").focus(function () {
         var value = $(this).attr("placeholder");
         var symbol = "&amp;";
         var cursorIndex = value.indexOf(symbol);
         //This is where I want to output the value into the inputbox with the cursor after cursorIndex 
   });
  </code></pre>