skip to Main Content

Why does this jQuery AJAX post request throw an error despite the fact that the post is successful?

I have made a blogging application in Laravel 8. I am currently working on submitting comments and comment replies via jQuery AJAX. The comment form template (viewsthemescalvinpartialscomment-form.blade.php): <div class="form-wrapper"> <div class="alert-box-ajax alert-box alert-box--success"> Your comment is pending </div> <div class="alert-box-ajax…

VIEW QUESTION

How can I get a fully working 'echo' command in a Jquery terminal?

Im trying to get a echo command to echo what the user types in a JQuery termial. This is the code I have <link href="https://unpkg.com/jquery.terminal/css/jquery.terminal.min.css" rel="stylesheet" /> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script src="https://unpkg.com/jquery.terminal/js/jquery.terminal.min.js"></script> <script> $('body').terminal({ echo: function(...args) { this.echo(args) }, }, {…

VIEW QUESTION
Back To Top
Search