Is it possible to give my HtmlHelper textbox an id ?
For instance like
<input type="submit" id="someid" />
In this case it would be for
Html.Textbox
The reason I am asking this is because I want to use this info
in a javascript function and get the value like this
(document.getElementById('someid').value)
Suggestions anyone ?
You can specify some metadata when creating the link on the server.
Taken from: http://stephenwalther.com/blog/archive/2009/03/03/chapter-6-understanding-html-helpers.aspx