Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
    function output() {
 
           var tamount = parseFloat(document.getElementById('<%=lblopeningbirds.ClientID%>').innerHTML);
           var cash = parseFloat(document.getElementById('<%=txtmort.ClientID%>').value);
           if (isNaN(tamount) != true && isNaN(cash) != true) {
               document.getElementById('<%=lblclosingbirds.ClientID%>').innerHTML =
               Math.round(
               parseFloat(document.getElementById('<%=lblopeningbirds.ClientID%>').innerHTML) -
               parseFloat(document.getElementById('<%=txtmort.ClientID%>').value)
 
               );
 
               return false;
           }
 
       }
 

 
how to cal javascript method in server side button control?
Posted 4-Oct-13 21:14pm
Edited 4-Oct-13 21:17pm
v2

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Guruprasad.K.Basavaraju 490
1 Sergey Alexandrovich Kryukov 336
2 OriginalGriff 290
3 Shai Vashdi 284
4 praveen_07 115
0 Sergey Alexandrovich Kryukov 9,185
1 OriginalGriff 5,315
2 Peter Leow 4,040
3 Maciej Los 3,535
4 Abhinav S 3,308


Advertise | Privacy | Mobile
Web03 | 2.8.140415.2 | Last Updated 5 Oct 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid