[Rails] Re: getting checkbox value

2015-06-03 Thread Komala Tm
i dont know anything about checkbox..i have following requirement.. checkbox along with mail ids..whenever i click on first checkbox all the mails needs to get selected..then for those mails i need to send mail in ruby..dnt have knoweldge about rails.can anyone tell me what codes i need to insert

Re: [Rails] Re: getting checkbox value

2015-06-03 Thread Colin Law
On 3 June 2015 at 12:29, Komala Tm li...@ruby-forum.com wrote: i dont know anything about checkbox..i have following requirement.. checkbox along with mail ids..whenever i click on first checkbox all the mails needs to get selected..then for those mails i need to send mail in ruby..dnt have

[Rails] Re: getting checkbox value

2011-01-26 Thread Ramesh Yatam
Thanks you guys for replying, I have used puts checkbox(different_billing_info).checked? and it working thanks again folks -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this

[Rails] Re: getting checkbox value

2011-01-25 Thread Ramesh Yatam
Can any one can give how we can check the whether checkbox is checked or not. input type=checkbox name=different_billing_info id=different_billing_info We are using if checkbox(:id,different_billing_info) == 1 puts checkbox is checked else puts checkbox is unchecked Its is not working

Re: [Rails] Re: getting checkbox value

2011-01-25 Thread loganathan sellappa
if checkbox(different_billing_info) == true puts checkbox is checked else puts checkbox is unchecked try this -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To