3

I want to call function on openEvent but it doesn't work. I'm using this jquery plugin.

My code is mentioned below:

$("#verified_icon").popover({
                title: "",
                content: "You have a fanbase of over 1000 Amount of fans they have.",
                hideOnHTMLClick: false,
                openEvent: 'localhost/project/common_ctrl/update_popup_status',
                trigger: 'hover',
            });
            $("#verified_icon").popover('show');

anybody help me......... thanks in advance

frhd
  • 9,396
  • 5
  • 24
  • 41
tusharchavda007
  • 223
  • 2
  • 12

1 Answers1

1

You seem to be trying to specify a http route in this parameter, which probably will not work.

According to the docs for the jquery plugin kematzy/jquery-popover, you should specify a callback function in the openEvent parameter. You can implement your desired logic within this function.

frhd
  • 9,396
  • 5
  • 24
  • 41