I have written this:
@Html.TextBox("PhoneAdmin", new { id = "phone" })
My goal was to have the id of "phone" for this textbox because a jQuery plugin I downloaded to use is using that ID as a masked text box to format phone numbers.
But it is not working, if I go to "Inspect" on it, I will see this:
<input id="PhoneAdmin" name="PhoneAdmin" type="text" value="{ id = phone }">
and it shows up like this in the browser:
What did I do wrong?
