Created
August 17, 2010 17:00
-
-
Save johnantoni/530842 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var data = "Core Core Selectors Attributes Traversing Manipulation CSS Events Effects Ajax Utilities".split(" "); | |
$(".autocomplete").autocomplete(data, {minChars: 0}); | |
function append_message(text) { | |
if ($(".ac_results").find("span").length == 0) { | |
$(".ac_results").append("<span>"+text+"</span>"); | |
}; | |
}; | |
$(".autocomplete").keyup(function(){ | |
append_message("If your country is not listed enter it anyway"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment