I have repetitive nobr tags which I can’t add ID nor Class.
How do I find a specific nobr tag which contains a string of text?
<nobr>Due Date</nobr>
<nobr>Test</nobr>
<nobr>Hello</nobr>
$(document).ready(function() {
$('<nobr>Due Date').append('<span class="ms-formvalidation" title="This is a required field." > *</span>');
});
If I simply have:
$("nobr").append("*");
Then all nobr will be affected.
1 Answer