ええ、機能していない ajax 呼び出しがあり、その理由がわかりません
私のajax呼び出しは
function insertData(icompany,iproduct,iavailability,irelatedInformation,ishortageReason,idateUpdated)
{
alert('here')//comes here just once but i have a loop which calls insertData function
$.ajax({
url: '../includes/drugShortage.php',
data: {
action:'insert' ,
company: '\'' + icompany +'\'',
product: '\'' + iproduct+'\'',
availability: '\'' + iavailability+'\'',
relatedInformation: '\'' + irelatedInformation+'\'',
shortageReason: '\'' + ishortageReason+'\'',
dateUpdated: '\'' + idateUpdated+'\''
},
success: function(e)
{
alert(e);
},
error:function(e)
{
alert(e);
},
type:GET
});
}
何が原因なのかわかりません。