forum

Home / DeveloperSection / Forums / Html elements are ignoring name property

Html elements are ignoring name property

marcel ethan 2113 10-Apr-2014

I'm building a Form with the following code

<h1>Opzoeken</h1>
@using (Ajax.BeginForm(
new AjaxOptions {
    HttpMethod ="get",
    InsertionMode =InsertionMode.Replace,
    UpdateTargetId ="ZoekResultaat" }))
{
<input type="search" name="searchterm" /> <br />
<input type="submit" name="Externe" />
<input type="submit"name="Leveranciers" />
<input type="submit" name="Contracten" />
}

But no matter what browser I debug in the buttons always have "Verzenden" instead of the assigned name.

detail: it's an mvc app and I checked the css nothing is changing the name off the buttons in there.


Updated on 11-Apr-2014

Can you answer this question?


Answer

1 Answers

Liked By