forms - HTML Label "For" Value -


I have a label tag that I'm trying to link to an input type checkbox tag. I have multiple labels and multiple checkbox inputs, and they have the same ID and same name, but different values ​​are there anyone can give me instructions on how to create a label that links to the value instead of the ID is? So this:

  & lt; Label = "8994" & gt; & Lt; / Label & gt;   

Will link to:

  & lt; Input id = "member_ids_" name = "member_ids []" type = "checkbox" value = "8994" & gt;   

Or is it not possible?

for the label element must match the id in your case something like this:

  & lt; Label = "member_id_8994" & gt; & Lt; / Label & gt; & Lt; Input id = "member_id_8994" name = "member_ids []" type = "checkbox" value = "8994" & gt;    

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -