{"id":8125,"date":"2015-11-27T03:33:38","date_gmt":"2015-11-27T03:33:38","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/11\/27\/how-can-i-trigger-a-bootstrap-modal-programmatically-open-source-projects-jschr-bootstrap-modal\/"},"modified":"2022-08-30T15:03:00","modified_gmt":"2022-08-30T15:03:00","slug":"how-can-i-trigger-a-bootstrap-modal-programmatically-open-source-projects-jschr-bootstrap-modal","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/11\/27\/how-can-i-trigger-a-bootstrap-modal-programmatically-open-source-projects-jschr-bootstrap-modal\/","title":{"rendered":"How can I trigger a Bootstrap modal programmatically?-open source projects jschr\/bootstrap-modal"},"content":{"rendered":"<p>If I go here<\/p>\n<p>http:\/\/twitter.github.com\/bootstrap\/javascript.html#modals<\/p>\n<p>And click &#8216;Launch demo modal&#8217; it does the expected thing. I&#8217;m using the modal as part of my signup process and there is server side validation involved. If there are problems I want to redirect the user to the same modal with my validation messages displayed. At the moment I can&#8217;t figure out how to get the modal to display other than a physical click from the user. How can I launch the model programmatically?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If I go here http:\/\/twitter.github.com\/bootstrap\/javascript.html#modals And click &#8216;Launch demo modal&#8217; it does the expected thing. I&#8217;m using the modal as part of my signup process and there is server side validation involved. If there are problems I want to redirect the user to the same modal with my validation messages displayed. At the moment I [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8125","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/8125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=8125"}],"version-history":[{"count":1,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/8125\/revisions"}],"predecessor-version":[{"id":8601,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/8125\/revisions\/8601"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=8125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=8125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=8125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}