Hi,
With the following piece of code... Is it possible to say, if the li was clicked do this if not(user click somewhere else) do that? The code will only make the div disappear if the user clicks something in the list. I need it to disappear if they click anywhere else as well... ?? Thanks!
.bind('blur', function() {
$('#search_suggestions_list li').click(function() {
var selectedString = $(this).text();
$('#search-box').val(selectedString);
setTimeout("$('#search_suggestions').fadeOut('fast');", 200);
})
})