jQuery logo

Find tag which contains some text you're looking for using jQuery. It's a common task if you want to modify some elements on page but you can't modify html-code of page.

		<td nowrap="true" valign="top" width="190px" class="ms-formlabel"><h3 class="ms-standardheader">
			<!-- Image -->
			<!-- /Image -->
		<td valign="top" class="ms-formbody">
		<!-- FieldName="City"
			<span dir="none">
		<input name="ctl00$m$g_b9ee4111_$ctl00$CustomFieldIterator1$TextField" type="text" maxlength="255" id="ctl00_m_g__TextField" title="City" class="ms-long ms-spellcheck-true" /><br />

$("tr td h3:contains('City')").css( "text-decoration", "underline" );


Yandex.RTB R-A-454402-1