Hi to All,
I have a javascript as
<script type="text/JavaScript">
function CalculateDistance (plat1, plon1, plat2, plon2)
{
try
{
:
:
var d = R * c;
return d;
}
catch (error)
{
alert(error);
}
}
</script>
I want to call it from my asp.net page. How to call this type of javascript on page load and button click with catching the return value. I want to catch the distance by proiding the 4 input parameter.
Please reply.........
Regards, Girish