Welcome to plsql4all.blogspot.com SQL, MYSQL, ORACLE, TERADATA, MONGODB, MARIADB, GREENPLUM, DB2, POSTGRESQL.

Tuesday, 23 December 2014

Get Correct Element ID based on fired Events

function ValidateIDofControlRevCalc(id) {
               
                var val2 = parseFloat(NumberEntered);
                var ansD;
                if(event.srcElement.id == "<%= txtMiscellaneousAmount_Travel_TEB.ClientID%>")
                {
                    ansD = document.getElementById('<%=txtMiscExpenseDyn_Travel_TEB.ClientID%>');
                }
               
            }

No comments:

Post a Comment

Please provide your feedback in the comments section above. Please don't forget to follow.