Question: - Features to implement - Adding tasks - File to complete: - Tasks.js: Add the task to the list using Ajax. The HTML code for

-Features to implement
-Adding tasks
-File to complete:
-Tasks.js: Add the task to the list using Ajax. The HTML code for the task comes from the server.
-Add_task.php: inserts the new task into the DB and generates the HTML code of the task.
Index.html
file: Tasks.js
$(document).ready(function (){
// Adding a new task
$('#taskForm').on('submit', function (e){
e.preventDefault();
});
// Delete a task
$(document).on('click',
'.delete-task-button'
, function (){
});
// Handle the change in completion status of a task
$(document).on('click',
'.update task button'
, function(){
});
});
file: Add_task.php
file:index.html

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!