<script language="javascript">
function CheckData(objform){ var x = objform.Shop_ID.value;
<%
StrSQL="Select * From Band Where Shop_ID="&x
Set SRs = DbConn.Execute(StrSQL)
If Not(SRs.EOF AND SRs.BOF) Then
Response.Write "javascript:alert('........')"
End if
SRs.Close
Set SRs = Nothing 
%>
}
</script>