title: How to get the binding root node from a viewmodel to use jQuery.blockUI on it while AJAX posting?
body: <p>I have a DIV, which I use as a binding root node when applying ko bindings this way:</p>
  
  <pre><code>ko.applyBindings(viewModel, document.getElementById('myContainerDiv'));
  </code></pre>
  
  <p>I have a generic <code>post</code> method defined for every viewmodel type, with common ajax handling, etc. In this method I would like to access the binding root node, so in this case the DIV with 'myContainerDiv', for example to be able to use some loading spinner on it or so.</p>
  
  <p>I've checked the documentation but only found the "inverse" operation (<code>ko.dataFor</code>). What I would like is something like this pseudo code:</p>
  
  <pre><code>BaseViewModel.prototype.post = function(url, options) {
      // this refers to my actual viewmodel
  
      var element = ....... get the binding root node for 'this'
      element.showLoading();
      ....
      // ajax stuff
      .... 
      element.hideLoading();
  };
  </code></pre>
  
  <p>EDIT: I'm using the jQuery.blockUI plugin for showing/hiding loading panels above elements, so it's not just about binding a loading DIV's visible property to an observable.</p>