Include one more condition to execute Script

0
 $outracondicao = 'S';

    $script = new TElement('script'); 
    $script->type = 'text/javascript'; 
    $script->add("$(document).ready(function(){
    window.setTimeout(function(){ 
    var results = new RegExp('[\?&]class=([^&#]*)').exec(window.location.href);
    if('".__CLASS__."' == results[1])  
    __adianti_load_page('engine.php?class=AtendimentosEmProcessoList&method=onReload');
  }, 5000);
    
asked by anonymous 12.05.2018 / 04:41

0 answers