title: window.opener.document.getElementById(ID of Button).click() results in javascript error in chrome
body: <p>Google chrome gives this javascript error </p>
  
  <pre><code>Uncaught TypeError: Object javascript:__doPostBack('ctl00$MainContentPlaceHolder$lnkBtnHidden','') has no method 'click'
  </code></pre>
  
  <p>while executing this line</p>
  
  <pre><code>window.opener.document.getElementById('ctl00_MainContentPlaceHolder_lnkBtnHidden').click();
  </code></pre>
  
  <p>I have verified that the control is in the opener page and that the ID of the button is same as well, but <code>window.opener.document.getElementById('ctl00_MainContentPlaceHolder_lnkBtnHidden')</code> returns this, rather than an object: </p>
  
  <pre><code>javascript:__doPostBack('ctl00$MainContentPlaceHolder$lnkBtnHidden','')
  </code></pre>
  
  <p>This happens only in Chrome...</p>
  
  <p><strong>EDIT:</strong> The code used to open the window is like this:</p>
  
  <pre><code>win= window.open('/PageName.aspx?qs=qsValue','','scrollbars=1,width=1000,height=950');
  win.moveTo(0,0);
  </code></pre>