title: Microsoft JScript runtime error: Member not found
body: <p>i am using asp.net mvc3 and jquery dialogue to open partial view in main view</p>
  
  <p>here is my structure.. </p>
  
  <p><strong>partialview 1</strong></p>
  
  <pre><code>&lt;input type="button" onclick="function1();"&gt;
  </code></pre>
  
  <p><strong>partial view 2</strong></p>
  
  <pre><code>&lt;form method="post"&gt; 
      //some elements
  
      @Html.RenderPartial("partialview1");
  &lt;/form&gt; 
  </code></pre>
  
  <p><strong>view 1</strong></p>
  
  <pre><code>&lt;script src="myscript.js" /&gt;
  &lt;script src="jquery.js"/&gt; 
  //some element
  
  &lt;div&gt;
      load partialview 2 as jquery dialogue 
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>myscript.js</strong></p>
  
  <pre><code>  function function1()
    {
       //some code
    }
  </code></pre>
  
  <p>this is just only overview of my application</p>
  
  <p>now in above structure if i click on button in the <strong>partialview1</strong> i am getting this error <strong>: Microsoft JScript runtime error: Member not found.</strong> </p>