Jquery Ajax Call on page load and on click event

Jquery Ajax Call on page load and on click event

Can anyone please share how can i call a jquery ajax function with default parameter on page load and then same function with different parameter on mouse click event.