I tried something like this:
First I had to put id = "#myForm" in @ Html.BeginForm after that, I put them in my part of the scripts, where I use the script:
<script type="text/javascript"> $(document).ready(function CKupdate() { $('#myForm').ajaxForm(function () { for (instance in CKEDITOR.instances) { CKEDITOR.instances[instance].updateElement(); } }); }); </script>
and then I did something like this =] for my submit button, and it works fine for me, no more pressing the submit button twice =]
<button type="submit" id="submitButton" onclick="CKupdate();$('#myForm').ajaxSubmit();">Submit</button>
EugeneEunice Dec 03 2018-12-12T00: 00Z
source share