I am working on ASP.NET C#.

With Javascript, I need to change the value of a textbox, when another text box value changes with the ratio of 3:2. 

For example, if the value in a text is 150, the other textbox value should be 100.