dynamically in input text boxs

dynamically in input text boxs

How to get the values from Dynamic all input texts?for example I have 10 input text in My page.I want to enter the value in First text box it will disable the tenth input text box? Is it possible in Dynamically?