Mmm I return null from server side if mysql_numrows(result) <= 0, which
works perfect.
I have also tried the code snippet again this time and got the error below;
$("#operator").autocomplete("bright/auto.php", {delay: 10, lineSeparator:
"^", cacheLength: 10, matchSubset: 1, matchContains: 1, autoFill:
true}).autocompleter is not a function
This is the code which spits the error above;
$("#operator").autocomplete("auto.php",
{
delay:10,
lineSeparator: "^",
cacheLength: 10,
matchSubset:1,
matchContains:1,
autoFill:true
}).autocompleter("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
-~----------~----~----~----~------~----~------~--~---