Hello, I'm trying to add @onchange to my EditorFor
, so I'll have to add that field dynamically
CURRENT LINE
@Html.EditorFor(model => model.CEP, new { @class = "classe" }, new { @onchange = "myfunction(id)" } })
In my case, I would have another line of this, passing the id of that field in the
is in error. how should I stay?