jQuery: How do I find specific input type, it's id/name and then the <td> holding it and toggle it
<p>How do I toggle the check-boxes and their display text upon clicking the text "click to display"?</p>

<p><strong>my code:</strong> Edit - this is how the actual code appears in the app -</p>

<pre><code> &lt;td class="txtval"&gt;&lt;input type="checkbox" name="798[]" id="798[]" value="1" 0="txtval" 1="" style="display: inline-block;"&gt;Yes
&lt;td class="txtval"&gt;&lt;input type="checkbox" name="798[]" id="798[]" value="1" 0="txtval" 1="" style="display: inline-block;"&gt;No
&lt;td class="txtval"&gt;&lt;input type="checkbox" name="798[]" id="798[]" value="1" 0="txtval" 1="" style="display: inline-block;"&gt;Maybe&lt;/td&gt;&lt;/tr&gt;
</code></pre>

<p><strong>How do find the input type checkbox with the name 798[], then find the previous  and toggle it</strong></p>
