tr ID set same as td ID
-
Hi,
First of all, This plugin is very great.
I would like to ask if how could we echo an ID to the TR for each field using the same ID inside the TD, Please see the sample below:
<tr class="text-line"> <th>First Name</th> <td id="pdb-first_name"> <input type="text" name="first_name" class="required-field regular-text" value="" /> </td> </tr>
Inside that <td id=”pdb-first_name”> there’s an ID available, how could we also use the same id above the tr <tr class=”text-line”> we would like to make it is we could edit the function and jquery behaviour of each field. SO in result we would like it to result in below code:
<tr class="text-line" id="pdb-first_name"> <th>First Name</th> <td id="pdb-first_name"> <input type="text" name="first_name" class="required-field regular-text" value="" /> </td> </tr>
Thanks, Looking forward for your response.
- The topic ‘tr ID set same as td ID’ is closed to new replies.