In jQuery how do you make a textbox read only and how do you turn it back.

This is what I tried:

Code:
$("#<%= TextBox1.ClientID %>").readonly();