How to shake input boxes on click
<p><strong>My Jquery</strong></p>

<pre><code>$(".skip").click(function () {
  $('input.inputbox').effect("shake", { times:3 }, 300);
});
</code></pre>

<p><strong>my html</strong></p>

<pre><code>&lt;div class="ce-cf-container"&gt;
  &lt;input type="text" name="name" id="name" class="inputbox" value=""&gt;
&lt;/div&gt;

&lt;button class="skip" &gt;Contact us now to gain financial freedom quicker&lt;/button&gt;
</code></pre>

<p>What I want to do is, once someone clicks on the <code>button</code> I want to shake the input box. Why isnt my code working?</p>
