Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • should work, what happens when you click? Commented Jun 25, 2013 at 13:12
  • 3
    The first thing I would say is that you have multiple #current events. This is invalid and won't work as you expect. id attributes must be unique. Commented Jun 25, 2013 at 13:13
  • 2
    It might help having an element with ID of add :) Commented Jun 25, 2013 at 13:13
  • If it's just enter ... can't u try to set focus on it? $(document).ready(function() { $("#add").focus(); }) Commented Jun 25, 2013 at 13:13
  • 2
    jsfiddle.net/fM4NE - this works Commented Jun 25, 2013 at 13:16