so' che non mi crederai, ma basta togliere le in questa pagina:
codice:
<html>
<head>
<script type="text/javascript" src="selectcustomer.js"></script>
</head>
<body>
CLICCA
<div id="txtHint">Customer info will be listed here</div>
</body>
</html>
e chiamare questa pagina col nome included_countvote.asp
codice:
<%
id=request("id")
%>
<%
SQL2 = "UPDATE [db] set voted=voted+1 where id="&id
Conn.Execute SQL2
sql="select voted from [db] where id="&id
objrs.Open sql, conn ,3,3
voted=objrs("voted")
objrs.close
set objrs=nothing
conn.close
set conn = nothing
response.write "<font size='+4'>" & voted & "</font>"
%>
fermo restando che il JS è corretto (e mi sembra di si)