From jQuery website:

```
.on( events [, selector ] [, data ], handler(eventObject) )

```

How can i write a correct code to pass a parameter from ON method to the event handler Function...

**I want a code like this:**

```
myfunc =function(obj){
$(this).after("<p>Another paragraph! "+obj+"</p>");
}

var count = 0;
$("body").on("click", "p",myfunc(++count) );

```

![enter image description here](https://i.stack.imgur.com/xba26.jpg)