Ya Abhishek i tried in same way you told. Function name in .js file
is getvalue() and the button id is "val". But it is giving error like
below..
Error 1: 'ASP.default_aspx' does not contain a definition for
'getvalue' and no extension method 'getvalue' accepting a first
argument of type 'ASP.default_aspx' could be found (are you missing a
using directive or an assembly reference?)
I given the javascript link in <head > in aspx page. How to over come this?
--
Regards
Nishanth Anil
nishan...@gmail.com
Now i tried in other way and it is working..
In my .aspx.cs page i'm storing a value in some label called
"Label1" and in .aspx page inside script i called the function in .js
file like below..
<script type="text/javascript">
dispcal(document.getElementById("<%=Label1.ClientID%>").innerHTML)
</script>
where dispcal() is a function name in .js file. and passing value inside that..