title: How to reload the already existing page after closing popup window
body: <p>i am using javascript, php, mysql.<br>
  I have a button on 'index.php'. A new window will open on click of this button(not new tab)<br>
  The code is like this.</p>
  
  <pre><code>function getUtilities(sid,sfname,smobnum,subdid)
  {   
     var url='';
     url="update.php?sid="+sid+"&amp;sfname="+sfname+"&amp;smobnum="+smobnum+"&amp;subdid="+subdid;
     popupNote(url);  
  }
  
  
  function popup(url)
  {
   var width  = 500;
   var height = 200;
   var left   = (screen.width  - width)/2;
   var top    = (screen.height - height)/2;
   var params = 'width='+width+', height='+height;
   params += ', top='+top+', left='+left;
   params += ', directories=no';
   params += ', location=no';
   params += ', menubar=no';
   params += ', resizable=no';
   params += ', scrollbars=yes';
   params += ', status=no';
   params += ', toolbar=no';
   newwin=window.open(url,'windowname5', params);
   if (window.focus) {newwin.focus()}
   return false;
  }
  </code></pre>
  
  <p>So i will have my popup opened. i am performing some update operation.. and i'l close it. After closing the popup i want to refresh my 'index.php'. But i am unable to do that.</p>