skip to Main Content

Cannot read properties of undefined (reading 'formatDate') – Jquery ajax

What's the problem in my code? Cannot read properties of undefined (reading 'formatDate') editable:true, eventResize:function(event) { console.log(event.start); var start = $.fullCalendar.formatDate(event.start, "YYYY-MM-DD HH:mm:ss"); var end = $.fullCalendar.formatDate(event.end, "YYYY-MM-DD HH:mm:ss"); var title = event.title; var id = event.id; $.ajax({ url:"../Components/calendar/update.php", type:"POST",…

VIEW QUESTION

Redirect Page With Data – Jquery ajax

I did some research on this topic but i cant run this id is not send to page. listdata.php <td class="text-center" style="min-width:130px;"> <button style="width:100%" class="btn btn-primary detail-customer" data-id="<?php echo $m->id; ?>">Bilgi</button> </td> ajax.php $(document).on("click", ".detail-customer", function() { var id =…

VIEW QUESTION

on click event and pass value to function – Asp.net

I have an on click event that calls a function but it does not work: @foreach (var item in Model.OrderDetails) { <tr class="text-center" id="@item.DetailId"> <td class="product-remove" onclick="DeleteOrderDetail(@item.DetailId)"><a><span class="ion-ios-close"></span></a></td> </tr> } @section Scripts { <script> function DeleteOrderDetail(orderDetailId) { debugger; $.get("/Account/RemoveCart?orderDetailId=" +…

VIEW QUESTION
Back To Top
Search