1. this may html <form class="form-horizontal" name="HnForm" novalidate> <h1>Hostname :</h1> <p id="hostname"></p> <script src="~/Scripts/admin/HostName.js"></script> </form> 2. i want to pass id="hostname" to c#.net homecontroller. how?