4
Answers

How to get value of a textbox inside a table inside a tabcon

Hold On

Hold On

7y
159
1
Hi! can anyone help me how to get the value of a textbox which is inside a table inside a tabcontainer?
 
Below is what I have so far but it doesn't work.
  1. $(document).ready(function () {  
  2.         $('#PolicyTxtBox').autocomplete({  
  3.             source: '/Handlers/TravelAssuranceHandler.ashx'  
  4.   
  5.         });  
  6.   
  7.     });  
Thanks in advance. 
Answers (4)
0
Ramesh Palanivel

Ramesh Palanivel

NA 9.5k 138.6k 7y
Hi Ahmed,
 
I think your logic is wrong, Please try with below code,
 
 textBox2.Text = ((Convert.ToDecimal(txtLgAmount.Text))/(Convert.ToDecimal(textBox1.Text))*100).ToString();