Hi,
I want to disable textbox in my page so that user can not modify its
contents. How can we do that in ruby?
Thanx,
Prash
Hi,
I want to disable textbox in my page so that user can not modify its
contents. How can we do that in ruby?
Thanx,
Prash
This is not related to ruby but html.
Please change the view code to make it enable or disable.
-Nathan
<%= text_field ‘object’, ‘method’, “disabled”=>“disabled” %>
“readonly” will also work.
On Monday, May 08, 2006, at 3:51 PM, wrote:
Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails
or…
<%= text_field ‘object’, ‘method’, “disabled”=>“disabled” %>
_Kevin
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs