title: How to select an element using jquery?
body: <p>I am trying to select my radio button value within multiple divs but i don't know.</p>
  
  <p>Also, append text within table but it doesn't work.  maybe my syntax is wrong?</p>
  
  <p>I've also tried appendTo() but same. nothing appears on the screen</p>
  
  <p>input radio is located..</p>
  
  <pre><code>&lt;div id="wrap"&gt;
  &lt;div id="section1"&gt;
  &lt;table class="question"&gt;
  &lt;tr&gt;&lt;td&gt;&lt;input type="radio" value="yes" name="tv"/&gt;&lt;/td&gt;&lt;td&gt;&lt;p id="position"&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>And below is my jquery source in script.js</p>
  
  <pre><code>$('#section1.input:radio["tv"]').change(function(){
      if ($(this).val() == 'yes') {
         $('#position').append("test appending");
  });
  </code></pre>