title: In CKEditor getSelection() returns null value in IE
body: <p>I am having an small code to select an text in CKEditor. For that i am using following code in javascript.</p>
  
  <pre><code>        var docx = editor.document;
          var elementx = docx.getById(id);
          editor.getSelection().selectElement(elementx);
          editor.getSelection().scrollIntoView(true);
  </code></pre>
  
  <p>It works fine in Mozilla Firefox.But in IE9 it throws an error as selectElement is not an object. So i checked the code and found that getSelection() having an null value. Please help me how to solve it.
  I tried some answers given in various sites even in CKEditor fourms nothing helped me.</p>