1
Answer

Comapring Values of textboxes based on dropdown value

Vishwas Kadamannaya

Vishwas Kadamannaya

13y
1.4k
1
Hi All,
       I have a dropdown and three textboxes in my aspx namely drpdwnAccountingType,txtCredit,txtBalance,txtIntradaylimit.

I have two items indropdown credit and deposit, if i select credit txtcredit and txtIntradaylimit shud validate ie txtIntradaylimit.text < txtcredit .text 

if i select deposit 
txtBalance and txtIntradaylimit shud validate ie txtIntradaylimit.text < txtBalance.text 

all three textboxes are of type decimal 


How could i do this using java script

Answers (1)