Note that there are some explanatory texts on larger screens.

plurals
  1. POhow to traverse inside a <td>
    primarykey
    data
    text
    <p>html: </p> <pre><code>{% for location in locationcheck %} &lt;input style="float:left;" type="button" class="delete"/&gt; &lt;label&gt;&lt;input style="margin: 0 10px 0 10px;" type="checkbox" checked="True" name="sub_location_key"&gt;{{ location }}&lt;/label&gt; &lt;button type="button" style="margin: 1px 120px;" name="delete" id="{{ location.id }}" class="sublocation_delete"/&gt;Delete&lt;/button&gt;&lt;br /&gt; {% endfor %} </code></pre> <p>generated html:</p> <pre><code> &lt;input style="float:left;" type="button" class="delete"/&gt; &lt;label&gt;&lt;input style="margin: 0 10px 0 10px;" type="checkbox" checked="True" value="1234" name="sub_location_key"&gt;Playground&lt;/label&gt; &lt;button type="button" style="margin: 1px 120px;" name="delete" id="1234" class="sublocation_delete"/&gt;Delete&lt;/button&gt;&lt;br /&gt; </code></pre> <p>js:</p> <pre><code>$(".delete").click(function(){ var $this = $(this); $this.siblings(".sublocation_delete").toggle(); </code></pre> <p>css:</p> <pre><code>.sublocation_delete { display:none; float: right; height: 20px; width: 60px; -moz-border-radius: 10px; border-radius:10px; } </code></pre> <p>The delete class and delete button are dynamically created by program that are more than one. Onclicking delete class,the hidden delete button should comes to appear.The above code i tried it is showing all the button on clicking the single "delete" class.</p> <p>I tried with nextAll,find and closest also nothing worked,may i know what is the correct traverse.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload