If I created a textbox like so:
@Html.TextBoxFor(p => p.FirstName)
Is there a way for me to know what the Id will be for this input? A way for other controls or javascript to refer to this input?
I can tag it using the htmlAttributes parameter; however, I was hoping there was a more direct route.
You can try with this code
Extension
Page
Script