General help

Create modal popup

Picture of Alpesh Mistry
Create modal popup

Hi, I am using moodle 2.3.2

I want to create a popup just like "add activity and resources" popup on course view page.

I want to open  modal popup on clicking link. which show yes- no button and message. I want to perform some task based on yes/ no button click.

If any one has code how to create a popup? Please shared with me.

Thank you for your time.

Average of ratings: -