I am trying to select the TR (table row) in the following table so I can .hide it. I don't get how to do that since it has no unique attributes compared to the other TR's in the table. Any help greatly appreciated -dave
<html>
<head>
<script type="text/javascript" src="../Documents/DAVID/jquery/jquery-2.0.3.min.js"></script>
<script type="text/javascript" src="../Documents/DAVID/jquery/jquery.SPServices-2013.01/jquery.SPServices-2013.01.min.js"></script>
</head>
<body>
<SCRIPT type=text/javascript>SetUploadPageTitle();</SCRIPT>
<script>
$(document).ready(function ()
{
$('TR SPAN.ms-formvalidation').hide(); //no can do...this is a unique element text to this TR "<NOBR>Name"
});
</script>
<table width="100%" class="ms-formtable" style="margin-top: 8px;" border="0" cellSpacing="0" cellPadding="0">
<TBODY>
<TR>
<TD class=ms-formlabel vAlign=top width=190 noWrap>
<H3 class=ms-standardheader><NOBR>Name<SPAN class=ms-formvalidation title="This is a required field."> *</SPAN></NOBR> </H3></TD>
<TD class=ms-formbody vAlign=top><!-- FieldName="Name"
FieldInternalName="FileLeafRef"
FieldType="SPFieldFile"
--><SPAN><SPAN dir=ltr><INPUT id=ctl00_PlaceHolderMain_idDocSetDisplayFormWebPart_ctl00_ctl01_ctl00_ctl00_ctl00_ctl04_ctl00_ctl00_onetidIOFile class=ms-long title=Name name=ctl00$PlaceHolderMain$idDocSetDisplayFormWebPart$ctl00$ctl01$ctl00$ctl00$ctl00$ctl04$ctl00$ctl00$onetidIOFile maxLength=123 size=35 type=text></SPAN><BR></SPAN></TD></TR>
<TR>
<TD class=ms-formlabel vAlign=top width=190 noWrap>
<H3 class=ms-standardheader><NOBR>Project Name</NOBR> </H3></TD>
<TD class=ms-formbody vAlign=top><!-- FieldName="Project Name"
FieldInternalName="Project_x0020_Name"
FieldType="SPFieldText"
--><SPAN><INPUT id=ctl00_PlaceHolderMain_idDocSetDisplayFormWebPart_ctl00_ctl02_ctl00_ctl00_ctl00_ctl04_ctl00_ctl00_TextField class="ms-long ms-spellcheck-true" title="Project Name" name=ctl00$PlaceHolderMain$idDocSetDisplayFormWebPart$ctl00$ctl02$ctl00$ctl00$ctl00$ctl04$ctl00$ctl00$TextField maxLength=255 type=text><BR></SPAN>Enter the formal project title </TD></TR>