jQuery: Get function arguments Jquery function p(){ alert(arguments.length); alert(arguments[0]); alert(arguments[1]); } p(1,2,3,4,5,6,7);