How to send a user choice from a controller view to another?
<p>I have three divs like this:</p>

<pre><code>                &lt;div onclick="GoToContactPage()"&gt;
            @*Some Code*@
            &lt;/div&gt;
            &lt;div onclick="GoToContactPage()"&gt;
            @*Some Code*@
            &lt;/div&gt;
            &lt;div onclick="GoToContactPage()"&gt;
            @*Some Code*@
            &lt;/div&gt;
</code></pre>

<p>on the <code>GotoContactPage()</code> function I only have a redirect link to another view like that</p>

<pre><code>    function GoToContactPage() {
    window.location.href = '/Home/SecondView';

}
</code></pre>

<p>and in that <code>/SecondView</code> I have an input method like that:</p>

<pre><code>&lt;div class="col-md-5"&gt;
 @Html.TextBoxFor(m =&gt; m.Name, new { placeholder = "Name", @class = "form-control", @id= "name"})
&lt;/div&gt;
</code></pre>

<p>All I was trying to do, when the user choose the first div a specific text appears in the input method in the other view, and so to the another two divs. I was thinking about sending an int then having an if statements and also was thinking about sending the string itself in the OnClick function but don't know what to do? and which is better? What should I do, Please?</p>