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 - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -