Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Update jQuery Cookie for Different Plugin WordPress


Hello all,

I am in need of some help making changes to a jQuery cookie that was made for me here on wpquestions. When I had originally asked for help I was using a pop-up plugin called 'popbox', but now have switched over to using the Twitter Bootstrap plugins and need to adjust the cookie to function for the Bootstrap 'popover' plugin.

The point of the cookie is that I have forms inside the popovers, and if a user submits a form, but there are errors on the form, the popover with the error filled form should re-open when the page reloads.

Here is the existing cookie:[[LINK href=""]][[/LINK]]

Here is where you can find the bootstrap popover plugin: [[LINK href=""]][[/LINK]]

Here is a button on my site: [[LINK href=""]][[/LINK]]

Answers (1)


Christianto answers:

Hi Kyle,

Please check this code
[[LINK href=""]][[/LINK]]

Let me know if its not working properly..


Kyle comments:

Thanks for the reply

Works perfectly :)

I am just going to test with multiple forms to make sure there are no conflicts, then I will award the prize