I don’t have much experience with jquery, but I’ve been trying to use it more and have run into a problem.
I’m trying to display a variable between certain elements that don’t have unique classes or id’s.
I just realized that the form elements I’m trying to show the variables before do have unique names, but I’m still not really sure how to show a variable before an element based on a name.
<td class="pme-key-1">Last Edit By</td>
<td class="pme-value-1">
<input class="pme-input-1" type="text" name="PME_data_LastEdit" value="10" size="60" maxlength="128" />
</td>
I’d like to use jquery to place the variable before the input field.
When, so for example on which event do you want to display the variable and which element triggers this event? This would be the bit to just put the contents of yourvar in front of the input tag:
If the name is unique, you can also use