Does anyone know why my form elements are not showing up in the web page AFTER the div (id=map-canvas) to hold the Google Map - it's bizarre. So in the example below it's not showing the "Confidence" field and the Submit button - any ideas??
BTW - if I put the div outside of the form - everthing renders ok.
@using (Html.BeginForm("Create", "Foo", FormMethod.Post, new { autocomplete = "off" }))
{
@Html.AntiForgeryToken()
@Html.ValidationSummary(true)
<fieldset>
<legend>FooLegend</legend>
<div class="editor-label">
@Html.LabelFor(model => model.Confidence)
</div>
<div class="editor-field">
@Html.EditorFor(model => model.Confidence)
@Html.ValidationMessageFor(model => model.Confidence)
</div>
<div id="map-canvas"/>
<div class="editor-label">
@Html.LabelFor(model => model.Notes)
</div>
<div class="editor-field">
@Html.EditorFor(model => model.Notes)
@Html.ValidationMessageFor(model => model.Notes)
</div>
<p>
<input type="submit" value="Create" />
</p>
</fieldset>
}