Thursday 20 June 2019

Submit from data using ajax call in mvc jquery





<script type="text/javascript">
        $(function () {
            ////////// FrmSchedule from id
            $('#FrmSchedule').submit(function () {
                if ($(this).valid()) {
                    $.ajax({
                        url: this.action,
                        type: this.method,
                        data: $(this).serialize(),
                        success: function (result) {
                            $('#loadControlID').html(result);
                        }
                    });
                }
                return false;
            });
        });

No comments:

Post a Comment

Excel Sort values in ascending order using function TEXTJOIN

 Excel ::  Text ::  1,3,5,2,9,5,11 Result :: 1,2,3,5,5,9,11 Formula ::     TEXTJOIN ( ",",1,SORT(MID(SUBSTITUTE( A1 ,","...