jquery - $.ajax method does not call server method -


can in identifying issue please.

$.ajax({         type: "post",         url: '@url.action("deleteprintjobs", "followmeprint")',         //url: "/followmeprint/deleteprintjobs", not work         data: { jobids: appendjobids },         success: function (data) {  },          error: function (x, y, z) { }     }); 

if pass url using url.action, works, not /{controller}/{action} . suspect because of routing not working. url in browser http://localhost/kiosk/followmeprint/deleteprintjobs. how handle kiosk in routing?


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -