Search code examples
jqueryjquery-effects

Why won't my animation effect work?


Beginer question:

i load ->

<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>

after that mt js file

all in the head section.

html:

<li class="form-row" id="req-shake">
  <label class="requried-field"> *</label>
  <label>some label</label>
  <input id="input-email" name="email" type="text" class="text-input required email default"  value="" title="[email protected]" />
</li>

js error:

js error:

am i doing something wrong?

Thanks


Solution

  • Include these three files too

     <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
      <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
      <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>