Menu icon Foundation
Re-use reveal modal for ajax links

I'm using reveal to display a product, and within that reveal window are related products. How can I re-use the existing reveal modal to load that new content? I looked at the 'nested modals' in the docs but for that the new modal has to already exist in the markup. Do I need to inject more modal markup before I can use it, or is there a way to use the existing modal (preferable!)

revealmodalAJAX

I'm using reveal to display a product, and within that reveal window are related products. How can I re-use the existing reveal modal to load that new content? I looked at the 'nested modals' in the docs but for that the new modal has to already exist in the markup. Do I need to inject more modal markup before I can use it, or is there a way to use the existing modal (preferable!)