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
Post a Comment