Need jQuery Autocomplete onSelect form post

Discussion in 'JavaScript' started by KingCobra, Jul 26, 2012.

  1. #1
    Dear friends,

    I need a help in this page:
    http://tinyurl.com/cnl4759

    In this page there is a big search area built using jQuey Autocomplete.
    Everything works fine except auto form post with selected value.

    I need to submit the form automatically when a item selected from dropdown list.
    (Example: start typing "Accounting", then dropdown will appear)

    You can see the html source code.
    If I use
    onchange="document.myform.submit();"
    Code (markup):
    in html input tag then the form submit but with the vale that I typed, not the vale that I selected from dropdown.

    Please help me.
    Thanks
     
    KingCobra, Jul 26, 2012 IP