Hi Everyone
I'm pretty new to coding, and I have come across my first page where i need to perform a function, within a bootstrap modal
without refreshing the page, I have looked this up and I'm guessing ajax is what i need.
I have never coded Ajax before
What i have is a list of "tasks" displayed as alerts within the modal which is created by a while loop within php
In those action bars i have 2 buttons 1 is 'dismiss' (just basically hides the task, which is working) and the 2nd button is 'completed' which needs to perform a function that sets a status of 2 (0 being new, 1 being extended, 2 being completed) against that note, I dont have a problem performing this, what i need help with is running that function without leaving the page or closing the modal.
Any advice or help with implementing Ajax would be greatly appreciated.
Thanks