Category Archives: Jquery


Create comment system with jquery ajax and laravel 7

Hello World, Welcome to Today we will learn how to create a comment system with jQuery Ajax and Laravel 7. In this tutorial, we will save comments and show instantly with the total comments count. This gonna be a very interesting tutorial for me as well as for you (I hope). I have divided this tutorial into the following parts:

  • Create a Post model
  • Create a Comment model
  • Define the hasMany relationship in Post Model
  • Add dummy data for post
  • Create a PostController and define a method for post list and post detail
  • Create templates for post and post detail with comments and show data
  • Setup route
  • Add a comment with jquery ajax and  show instantly

Continue reading


How to submit data with jquery ajax in django 3

Hello World, Welcome to Today I am going to create a tutorial on how to submit the form with jquery ajax in Django 3. This is a very simple tutorial. I will submit a form of data in the database without reloading the page in Django 3 with the help of jquery ajax. I have divided this tutorial into the following steps.

  • Setup Django with learning project and ajaxform app
  • Create a post model
  • Setup route for view
  • Create form template
  • Submit form data in the database with jquery ajax
  • Verify the submitted data

Continue reading

How to work with ajax in laravel

Hello World, Today i am going to discuss that how to work with ajax in laravel. In this tutorial, We will create simple example to perform ajax working in laravel. In this example, We will click on a button then load the data with jquery ajax technology and show in the html div element. I hope you will learn and enjoy this tutorial.

Continue reading