Add Label and IDs
Add Label and IDs
Hello,
We have an auto generated form in 3DCart and code is like this
-
- <div id="OptionsBlock">
- <input type="radio" name="option-617" onclick="validateValues(document.add,1);selectOption(this);" id="72">
- Option 1 - This is a text here
- <input type="radio" name="option-618" onclick="validateValues(document.add,1);selectOption(this);" id="73">
- Option 2 - This is a text here
- <input type="radio" name="option-619" onclick="validateValues(document.add,1);selectOption(this);" id="74">
- Option 3 - This is a text here
- </div>
How do I use jQuery to wrap those strings (Option 1, Option 2, Option 3) with label and if possible with IDs?
Thanks.