Uncaught TypeError: Cannot read property 'ajax' of undefined
问题 I tried deleting an item from a table with AJAX via a POST call. ///// DELETE INDIVIDUAL ROW IN A TABLE ///// jQuery('.stdtable .delete').live('click', function (e) { //var newsId1 = $(this).attr("title"); e.preventDefault(); var p = jQuery(this).parents('tr'); if (p.next().hasClass('togglerow')) p.next().remove(); p.fadeOut(function () { jQuery(this).remove(); }); $.ajax({ URL: "/AdminPanel/News/DeleteNews", data: { "newsId": 1 }, dataType: "json", type: "POST", success: function (msg) {