Advertisement
Guest User

Untitled

a guest
Apr 27th, 2011
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. var radioButtonTagging = (function(){
  2.  
  3. console.log('run');
  4.  
  5. $("span.radio").each(function(i, ele){
  6. $(ele).addClass('radio'+i);
  7. });
  8.  
  9. $(".radio1").click(function(){
  10. console.log('fired');
  11. $('#expandQuestion1').css('display','block');
  12.  
  13. });
  14.  
  15. });
  16.  
  17. if($('span.radio').length){
  18. console.log('run');
  19. radioButtonTagging();
  20.  
  21. }else{
  22. console.log('trying to run timer');
  23. setTimeout("radioButtonTagging()",2000);
  24.  
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement