MVC/HTML - input submit won't trigger when HTML is in a text area
- by cw
Any idea why the below code doesn't trigger if I were to put some HTML inside the textarea? It works fine it I don't have HTML in it, but I'm not sure why it doesn't work with it. Here is the code.
<form action="/Home/AddPost" method="post">
<table>
<tr>
<td>Post Title:</td>
<td><input id="Title" type="text" name="title" /></td>
</tr>
<tr>
<td>Post Description:</td>
<td><textarea id="Description" rows="10" cols="60" name="description"></textarea></td>
</tr>
</table>
<input type="submit" value="Save" />
</form>