Vishwas Kadamannaya

Vishwas Kadamannaya

  • 1.6k
  • 122
  • 142.2k

Comapring Values of textboxes based on dropdown value

Jul 7 2011 8:48 AM
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)