I have a list on one of my website pages that acts like a delete button, however I was wondering if you could call a php script when the user clicks on it, a bit like a submit button.
Here is the list:
<li>
<a class="actions_dropdown" href="#"> </a>
<ul class="actions_content">
<li><a href="#">Delete</a></li>
<li><a href="#">Report</a></li>
<li><a href="#">Mark as Read</a></li>
<li><a href="#">Mark as Unread</a></li>
<li><a href="#">Move to Folder 1</a></li>
<!----whole loop of folders--->
</ul>
</li>
Is there anyway so when the user clicks on, say the delete li that it calls a php script? I can't seem to work it out.