<%=userinfo.select :profile,Profile.find(:all,:conditions => {:role_type
=> “AC”}).collect {|c| [ c.name, c.id ] },{},{:class => “companyselect”}
%>
how to disable the above select menu …
i can able to disable the text field tag like below
<%=text_field_with_auto_complete :company_info, :name,:value =>
“#{@companyinfo.name}”,:disabled => true%>
Any helps for my query…
Thanks
Hi,
Are you looking at disabling the whole select menu or only few of
the
options? The following link might have the one your looking into:
Best Wishes,
Saideep Annadatha
whol.ly
http://saideep.tk
On Fri, Aug 14, 2009 at 8:49 AM, Newb N.
<[email protected]