Rolando Puno

Rolando Puno

  • 1.5k
  • 218
  • 5.9k

Passing html to home controller

Jun 1 2023 8:50 AM

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?

 


Answers (2)