When i click on submit, I want to add a div saying "Hi". But the below code does not work when i put the submit button in the form. It works only if I remove the runat="server" but without this my button cannot work.
<script>
$(function () {
$('#submitThreadBtn').click(function () {
$('.divtext').append("<div><p>Hi</p></div>")
});
});
</script>
<form runat="server">
<div class="form-group">
<label for="TA_AS_desc">Description: </label>
<textarea class="form-control" rows="5" name="nm_AS_desc" id="TA_AS_desc" required></textarea>
</div>
<input class="btn btn-dark" type="submit" id="submitThreadBtn" value="Submit" runat="server" onserverclick="submitThreadBtn_ServerClick" />
</form>
<div class="divtext">
</div>