Ask your WordPress questions! Pay money and get answers fast! (more info)

Update jQuery Cookie for Different Plugin (again..) WordPress

  • SOLVED

I posted a question a day or so ago about updating a cookie for the popover js plugin from the Twitter bootstrap framework. I now need to have the same task completed for the modal plugin from bootstrap.

Here is my previous question: [[LINK href="http://wpquestions.com/question/showChronoLoggedIn/id/7674"]]http://wpquestions.com/question/showChronoLoggedIn/id/7674[[/LINK]]

Here is the plugin:[[LINK href="http://twitter.github.com/bootstrap/javascript.html#modals"]] http://twitter.github.com/bootstrap/javascript.html#modals[[/LINK]]


The goal being that, when there is a form error, the form modal will automatically re-open when the page loads to display the mistakes. You can see the form on my site hookahi.com at the very bottom of the page, in the right corner there is a "Contact Us" link which opens the modal.

Answers (1)

2012-12-08

Christianto answers:

Please check this Kyle
[[LINK href="http://pastebin.com/TZCftKqa"]]http://pastebin.com/TZCftKqa[[/LINK]]

Let me know if you need to change other thing..

Thanks


Kyle comments:

Works perfectly, thanks for all your help Christianto