2009/9/24 Hemant Bhargava <[email protected]>: > > There are also some more errors for label. > In source code .. I mean when i view page source labels are of type:- > td> > > <div class="one_element_div_qual" id="one_element_div_qual_37" > onclick="changeBackgroundColor(this.id);"> > <label for="FRCA"> > <input type="checkbox" id="qual_checkbox_37" > name="qualification_ids[]" value="37" /> > FRCA > </label> > </div> > > And this code is also giving me error.. The error is- > --------- > reference to non-existent ID "FRCA" > > <label for="FRCA"> >
The label for="FRCA" is expecting to find an object with id FRCA that this is the label for. Is it usual to have an input inside a label? Did you mean <label for="qual_checkbox_37">FRCA</label> <input ... /> Colin --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

