Posts by AdrianoLeal • 15 points
3 posts
-
0
votes2
answers1383
viewsA: jquery, onclick catch id values <a
I know it would be something like: <script> $('.approved').on('click',function(){ var taskid = $(this).parent().parent().attr('id'); $.ajax({ url: './task.php', type: 'POST', data: { action:…
-
0
votes2
answers1383
viewsQ: jquery, onclick catch id values <a
It’s a notification system. The code below is working fine. When I click on the notification ( php file that generates notifications: <ul class="dropdown-menu"> <li class="header">Você…
-
1
votes1
answer130
viewsQ: Dynamic Update (Insert) with ajax
I did some research, and I still can’t solve this problem. is an onclick event that sends a request to the update.php file, which updates the notification table. Follows code below: Triggers the…