How to get values through JavaScript

Hello

I have a report from the region, in this report a single column is select list with values 1,2,3,4,5 & other columns are text fields.
I want to if the user selects 1 of the selection list, then the next column of the report must be disabled.

Any help would really be appritiated.

Thank you
onchange="javascript:setvalues(this,'here your text filed name')";

Note: field name of text as f01...

put the code above in the report attributes column-->
Select the column in the list--> in the form of--> attributes of the element element

Then