         @ajax = new Ajax(@options.src.replace('{search}', search), method: @options.method)
         @ajax.on 'complete', =>
           if @ajax.responseJSON
-            @update(@ajax.responseJSON, search).show()
+            @update(@ajax.responseJSON, search).showAt(@input)
           else
             @hide()
 


      content = content.join("\n")

    @$super(content)

  #
  # Inserts the menu in DOM and shows it next to
  # the input field
  #
  # @return {Autocompleter} self
  #
  show: ->
    @style visibility: 'hidden', display: 'block'

    @insertTo(@input, 'after').style(minWidth: @input.size().x + 'px')
      .position(x: @input.position().x, y: @input.position().y + @input.size().y)

    @style display: 'none', visibility: 'visible'

    @$super('slide', duration: 200)

  #
  # hides the autocompleter menu
  #
  # @return {Autocompleter} this
  #
  hide: ->
    @$super('slide', duration: 100)
      @update core.L(@options.src).filter (item)->
        item.toLowerCase().substr(0, search.length) is search.toLowerCase()
      , search

      @showAt(@input)

    return @

