Ciao a tutti sto cercando di implementare un plugin jquery autocomplete.
se gli passo come source un array tutto ok.
nel momento in cui come source gli do search.asp non mi restituisce niente.
dove sbaglio? ogni vostro consiglio sarà utilissimo non sò proprio dove sbattere la testa

questa è la pagina html

<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI Autocomplete - Default functionality</title>
<link rel="stylesheet" href="css/jquery.ui.all.css">
<script src="js/jquery-1.4.2.min.js"></script>
<script src="js/jquery.ui.core.js"></script>
<script src="js/jquery.ui.widget.js"></script>
<script src="js/jquery.ui.position.js"></script>
<script src="js/jquery.ui.autocomplete.js"></script>
<link rel="stylesheet" href="../demos.css">
<script>
$(function() {
$( "#tags" ).autocomplete({
source: "search.asp"
});
});
</script>
</head>
<body>

<div class="demo">

<div class="ui-widget">
<label for="tags">Tags: </label>
<input id="tags" />
</div>

</div>



<div class="demo-description">


The Autocomplete widgets provides suggestions while you type into the field. Here the suggestions are tags for programming languages, give "ja" (for Java or JavaScript) a try.</p>


The datasource is a simple JavaScript array, provided to the widget using the source-option.</p>
</div>

</body>
</html>

e questa è la pagina search.asp

<%
nome = request.querystring("q")
sql = "select id, nome, cognome from nome_tabella WHERE cognome LIKE '%" & nome & "%' or nome LIKE '%" & nome &"%');"
set Rs = Conn.Execute(SQL)

WHILE NOT Rs.EOF
Response.Write Rs.Fields("nome") & "," & Rs.Fields("cognome")
Rs.Movenext
Wend
%>