daily pastebin goal
16%
SHARE
TWEET

Untitled

a guest Jun 14th, 2018 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $(document).ready(function(){
  2.  
  3.   $('#form-widgets-leiharbeitnehmer-row').click(function(){
  4.     var id = $(this).val;
  5.     console.log("%s: %o", id, this);
  6.     if ( $(this).val() == "ja" )
  7.         $('#form-widgets-adresse-row').show();
  8.     else
  9.         $('#form-widgets-adresse-row').hide();
  10.  
  11.   });
  12.  
  13. /*  alert("Danke fuer den Besuch!"); });*/
  14.  
  15.  });
  16.  
  17.  
  18.        
  19.           <div id="form-widgets-leiharbeitnehmer-row"
  20.                class="row">
  21.            
  22.               <div class="label">
  23.                 <label for="form-widgets-leiharbeitnehmer">
  24.                   <span>Leiharbeitnehmer</span>
  25.                   <span class="required">*</span>
  26.  
  27.                 </label>
  28.               </div>
  29.               <div class="widget"><span class="option">
  30.   <label for="form-widgets-leiharbeitnehmer-0">
  31.     <input type="radio" id="form-widgets-leiharbeitnehmer-0"
  32.            name="form.widgets.leiharbeitnehmer:list"
  33.            class="radio-widget required choice-field"
  34.            value="ja" />
  35.     <span class="label">ja</span>
  36.   </label>
  37. </span><span class="option">
  38.   <label for="form-widgets-leiharbeitnehmer-1">
  39.  
  40.     <input type="radio" id="form-widgets-leiharbeitnehmer-1"
  41.            name="form.widgets.leiharbeitnehmer:list"
  42.            class="radio-widget required choice-field"
  43.            value="nein" />
  44.     <span class="label">nein</span>
  45.   </label>
  46. </span>
  47. <input name="form.widgets.leiharbeitnehmer-empty-marker"
  48.        type="hidden" value="1" />
  49. </div>
  50.              
  51.            
  52.           </div>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top