On laravel 8.83 / jquery 3.6.0 app when user clicked on action button and ajax response retued new value is set
(groupedNewsUserActionsCount of response)
into div with id = "#total_actions_" + newsId + "_" + action + "_label" and to assign class 'news-user-reactions-item-voted' into block
I do it with a code :
$.ajax({
type: "POST",
dataType: "json",
url: "/news/react",
data: {"_token": "{{ csrf_token() }}", "newsId": newsId, "action":...
Code (JavaScript):
Why javascript/jquery code does not work on android devices? WordPress ...
ما را در سایت WordPress دنبال میکنید
برچسب:
نویسنده: استخدام کار
بازدید: 101
تاريخ: شنبه
11 شهريور
1402 ساعت: 14:51