How to send data from disabled textbox.

Hi,

I’ve a requirement in which the textbox should be auto populated in case a user selects a particular value and in this textbox will be disabled AND for other dropdown values the textbox will be enabled. I am able to make it enabled and disabled using javascript. But the value from disabled textbox is not sent?

I tried searching to make the textbox readonly using CAF javascript but I am not able to find it.

Can you please assist.