title: Excuting function after window.location.href download
body: <p>i have a file download that is being initiated with a simple window.location.href command. Since i am staying on the same page i would like to call a different function that will refresh a part of the page, but this other function is not being executed after the download. Is there a way to do this? 
  I guess Im looking for something like ajax`s "success" option.</p>
  
  <p>Thanks!</p>