[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Query regarding disable check boxes

Venu9955

4/1/2008 7:12:00 AM

Hi,

I am getting difficult while capturing the disable check boxes in my
application using DOM Inspector.
Can anyone help me out how could we test the check boxes which are in
disable state.

I am getting nothing by spying with DOM on the object.

Thanks,
Venu 9955
1 Answer

Julian Leviston

4/1/2008 7:52:00 AM

0

Hi Venu 9955,

by default check_box_tag won't yield a value for disabled checkboxes.
You'll have to look at the api.rubyonrails.org under check_box_tag...
best is to use check_box. This will yield a value for both states.

Julian

Learn about Ruby on Rails! CHECK OUT THE FREE VIDS (LIMITED TIME) NEW
VIDEO OUT 3rd APRIL
http://sensei.ze...


On 01/04/2008, at 6:15 PM, Venu9955 wrote:

> Hi,
>
> I am getting difficult while capturing the disable check boxes in my
> application using DOM Inspector.
> Can anyone help me out how could we test the check boxes which are in
> disable state.
>
> I am getting nothing by spying with DOM on the object.
>
> Thanks,
> Venu 9955
>