How to get a scalar value output by Executing a SQL Server's Stored Procdure from Javascript(
JS) file.
Although there are some examples on internet with Server object i.e
Server.CreateObject("ADODB.connection")
but i m seeing the error "Server is undefined". If i put this code on a web page (e.g aspx - asp.net 2.0 ) then it will work fine. But my requirement is to Execute this code from
JS file.
(
JS file is called by an HTML page via a Script tag.
<script type="text/javascript" src="myFile.
js"></script> )