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

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

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

ios - I get the error Property '...' not found on object of type '...' -