Tom Knowlton
asked on
hide "H6" tag
In the code below, if the following tag is selected:
<div id="ctl09_ctl08_divPostpon edTaskGrid ">
How do I hide the sibling above it? ( the <h6> tag )
<div id="ctl09_ctl08_divPostpon
How do I hide the sibling above it? ( the <h6> tag )
<table>
<tbody><tr>
<td><span>Completed by: Jaren Morris</span></td><td rowspan="4">
<h6>Postponed Task</h6>
<div id="ctl09_ctl08_divPostponedTaskGrid">
<div>
</div>
</div>
</td>
</tr><tr>
<td><span>Completed Date: 2/25/2013 11:27:23 AM</span></td>
</tr><tr>
<td><span>Assigned Role: Client Contact-L1</span></td>
</tr><tr>
<td><a href="ViewHTML.aspx?ApprovalQueueID=779111-1" target="Task History">Task View</a></td>
</tr>
</tbody></table>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
My interim solution:
Open in new window
Was prevAll( ) an okay choice?
It works - but was it correct?
Also, I am not familiar with select( )
I thought these were the same thing:
$('#<%= PostponedTaskGrid.ClientID
$('h6').hide();
});
vs
$('#<%= PostponedTaskGrid.ClientID
$('h6').hide();
});