title: mvc3 is there a way to get value of a PartialView textbox with Jquery
body: <p>I have a partialView that is embedded on my page and it has certain a certain textbox that I would like to get the value of and put into another textbox, since this is a PartialView the code does not show on PageSource so I was wondering is there a possible way to extract the value ?
  This is my code</p>
  
  <pre><code>       // Jquery that triggers the form to submit to allow PartialView
    &lt;script&gt;
  
         $(document).ready(function () {
  
          $('#form0').trigger('submit');
  
  
  
      });
     &lt;/script&gt;
    // The triggered ajax form
      @using (Ajax.BeginForm("feeds", "Account", null, new AjaxOptions
  {
  UpdateTargetId = "globe",
  InsertionMode = InsertionMode.Replace,
  HttpMethod = "GET",
  OnSuccess = "fillTextBox"
  }))
              {
                  @Html.TextBox("zips", "", new { style = "width:120px;margin-right:10px;", Value = @Model.profile.zip })
                  @Html.DropDownList("rad", new SelectList(
                new List&lt;Object&gt;{
                    new{ Text = "10", Value= 10},
                     new{ Text = "30", Value= 30}}, "Value", "Text"))
                    @Html.DropDownList("TypeFeed", new SelectList(new List&lt;Object&gt;{new { Text = "Breaking News", Value = "Breaking News"}}, "Value", "Text"))
                  &lt;input  type="submit" value="Find" /&gt;
  
  
  
              }
        &lt;div id="globe" style="float:left"&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>as you can see the partialView lies inside the Global and within that PartialView there is a textbox</p>
  
  <pre><code>    @Html.TextBox("longitude", (Object)@ViewBag.longitude)
  </code></pre>
  
  <p>that textbox has a value that I would like to transfer to another textbox on my page</p>
  
  <pre><code>&lt;input type="text" id="myname" /&gt;
  </code></pre>
  
  <p>is there any possible way I can transfer the value of longitude to myname ?</p>