title: how to find control inside Wizard control in javascript
body: <p>I have asp.net application having page with asp.net wizard control. this wizard control having the textbox controls. I want to access this textbox value in javascript. 
  where as i tried to access this text box control by this :</p>
  
  <pre><code>var originalPrice2 = document.getElementById('&lt;%= mytextbox.ClientID %&gt;').value;
  or 
  var originalPrice2 = document.getElementById('mytextbox').value;
  
  but not getting any value .
  </code></pre>
  
  <p>where as I started firebug I found engine dynamically allocating the id to textbox control as <code>"ctl00_ContentPlaceHolder1_Wizard1_mytextbox"</code>
  and when i tried to get value of text box using this generated id.</p>
  
  <pre><code>var originalPrice2 = document.getElementById('&lt;%= ctl00_ContentPlaceHolder1_Wizard1_mytextbox.ClientID %&gt;').value;
  </code></pre>
  
  <p>but getting exception  :</p>
  
  <pre><code>The name 'ctl00_ContentPlaceHolder1_Wizard1_mytextbox' does not exist in the current context
  </code></pre>
  
  <p>Why should be this? my html is exactly same what i explained. </p>