I have an asp.net relay on the page. If each repeating element is wrapped in a label as follows:
<label class="ItemName">value</label>
If this label contains the text "35", I want to display the text next to it. How can I do this using jquery ???
jQuery(document).ready(function () { if ($('.ItemName').val().indexOf("35")) { $(this).val() = $(this).val() + "some text"; } });
jquery class label
phil crowe Sep 09 '10 at 15:12 2010-09-09 15:12
source share