Open a Page with a Modal Already open

Send Snippet To: Save this snippet to Code Collector Pro -- view all balzan's snippets
language: Objective-C
license: Other

Code for Snippet:

// Put this at the bottom of the html page
    $(document).ready(function() {
        if (window.location.href.indexOf('#createEditInvoice') != -1) {
        if (window.location.href.indexOf('#createEditForecast') != -1) {
// change these accordingly #createEditInvoice
// your link to the page with the open modal is 
// http://sandbox.rawideas.local/abalzan/ri_zink_ss/pages/invoice#createEditInvoice
comments powered by Disqus


Link to this snippet:

Download to Code Collector

To use the direct link to your snippet on either copy the html from the above section or drag the Download to Code Collector to where you would like to use it.

More Info:

Times Viewed: 497
Date Added: 2016-09-27 05:11:28
Last Modified: 2016-11-15 19:25:46

Web Analytics