title: Least code to write this with jQuery
body: <p>normally I'm a backend developer, so I'm not really good with javascript and jQuery. I have 3 radio buttons, and I want to display an image next to the radio button that has been checked. Currently I'm doing it like this with javascript. Every radio button has an <code>onClick</code> method that passes the id as parameter. Then the method does this.</p>
  
  <pre><code>function toggle(id) {
      var e = document.getElementById(id);
      if(e.id == 'rechnung0') {
          document.getElementById('rechnung0').style.cssText= 'display:block;float:right;';
          document.getElementById('rechnung1').style.cssText= 'display:none;float:right;';
          document.getElementById('rechnung2').style.cssText= 'display:none;float:right;';
      }
      if(e.id == 'rechnung1') {
          document.getElementById('rechnung0').style.cssText= 'display:none;float:right;';
          document.getElementById('rechnung1').style.cssText= 'display:block;float:right;';
          document.getElementById('rechnung2').style.cssText= 'display:none;float:right;';
      }
      if(e.id == 'rechnung2') {
          document.getElementById('rechnung0').style.cssText= 'display:none;float:right;';
          document.getElementById('rechnung1').style.cssText= 'display:none;float:right;';
          document.getElementById('rechnung2').style.cssText= 'display:block;float:right;';
      }
  }
  </code></pre>
  
  <p>But there must be a faster way with jQuery. Isn't there one? Like, when one of the radio_buttons gets selected. the name is <code>billingaddress</code>, then everyone of the group which is't selected gets the css with display none, and everyone of the group that is selcted gets the block style. </p>
  
  <p>How is this possible with jquery?</p>