1

Is have about 20 label/input pairs on a page that use JS to give them unique styling. For this to work they must have matching id's on each pair.

This is the way the I would like the HTML to be formatted:

<p class="radioBtn">
    <label for="business00"></label>
    <input id="business00" type="radio" name="radioBtn" value="" />
</p>
<p class="radioBtn">    
    <label for="private00"></label>
    <input id="private00" type="radio" name="radioBtn" value="" />
</p>
<p class="radioBtn">
    <label for="business01"></label>
    <input id="business01" type="radio" name="radioBtn" value="" />
</p>
<p class="radioBtn">    
    <label for="private01"></label>
    <input id="private01" type="radio" name="radioBtn" value="" />
</p>

and so on.

Can this be achieved using ASP.NET? Many thanks in advance.

mtwallet
  • 5,040
  • 14
  • 50
  • 74

1 Answers1

1

I think this will answer your question.

Community
  • 1
  • 1
SquidScareMe
  • 3,108
  • 2
  • 24
  • 37