Try it like this (notice the .autocomplete("result",....

 $(document).ready(function(){
        $("#input").autocomplete("auto.php",
        {
            delay:10,
            lineSeparator: "^",
            cacheLength: 10,
            matchSubset:1,
            matchContains:1,
            onFindValue:findValue,
            autoFill:true
        }).autocomplete("result", function(event, data, formatted) {
            $("#message").html( !data ? "No match!" : "Selected: " +
formatted);
        });

 });

On Mar 19, 12:49 pm, "[email protected]"
<[email protected]> wrote:
> Thanks for the reply. I did try use the result handler and still cant
> get it to work.
>
> tried something like thiis;
>
>  $(document).ready(function(){
>         $("#input").autocomplete("auto.php",
>         {
>             delay:10,
>             lineSeparator: "^",
>             cacheLength: 10,
>             matchSubset:1,
>             matchContains:1,
>             onFindValue:findValue,
>             autoFill:true
>         }).result(function(event, data, formatted) {
>             $("#message").html( !data ? "No match!" : "Selected: " +
> formatted);
>         });
>
>     });
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to