i'm trying passing "this" from onclick event to a function and than to pass this to another function, its working on the first function, but "this" not passed to the next function called from the first function ?
this is my code, please advice ?
function hideProcessing(nextThis) {
  nextThis.parentNode.parentNode.style.display = "none";
  nextThis.parentNode.style.display = "block";
}
function showProcessing(param) {
  param.parentNode.parentNode.style.display = "block";
  param.parentNode.style.display = "none";
  var thisElement = this
  setTimeout('hideProcessing(thisElement)', 3000);
}
<div>
  <span id="overlap">show me</span>
  <div id="sendContainer" class="sendContainer">
    <button onclick="showProcessing(this);">send</button>
  </div>
</div>