Passing AJAX arguments to JQuery -


function myfunction(action, arguments){  $.get(action, arguments)  }  myfunction("link/to/mypage", { "idcustomer": "123", "junk": $.now }) 

expected connection:

link/to/mypage?idcustomer=123&junk=random 

actual result:

link/to/mypage 

why this? how can solve it? thanks!

arguments reserved word in javascript. change else , try again!


Comments

Popular posts from this blog

javascript - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -