<html>
<head>
<script src="https://libs.baidu.com/jquery/1.10.2/jquery.min.js">
</script>
<script>
$(document).ready(function(){
$("p").click(function(){
$("p").on("myPara", function(event, param1, param2, param3){
alert(param1 + "\n" + param2 + "\n" + param3);
});
$("p").triggerHandler("myPara", ['Pass', 'Along', 'Parameters']);
});
});
</script>
</head>
<body>
<p>Click to alert additional parameters.</p>
</body>
</html>