Advertisement
Guest User

Untitled

a guest
Feb 12th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.30 KB | None | 0 0
  1. setTimeout(function(){
  2.         try {
  3.             $.each(json.risks, function(key, value){
  4.                
  5.                 if(typeof(value.risk) == "string") {
  6.                
  7.                     $("[input[value='" + value.risk + "']").prop("checked", true).change();
  8.                     $(".ui-widget-overlay, .ui-dialog").remove();
  9.                 }
  10.             });
  11.         }      
  12.         catch(e){}
  13.     }, 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement