This topic contains 1 reply, has 2 voices, and was last updated by Sean Sean 1 year, 9 months ago.

Passing div content to a modal


  • XanaduDev
    Participant

    Posts: 19
    Member Reply #7623

    Hi,

    We’re using metronic v4.5.6 admin_1 layout. Basically I want to pass a hidden div content inside my modal.. can I do that?

    the code looks something like this:

    < a href="#hiddenContent_1" data-toggle="modal" data-target="#myModal"> (more) < / a>
    <div id="hiddenContent_1" style="display:none">something inside</div>
    

    So when I click more, we will see “something inside” the modal-body. Kindly let me know how to do that or is it possible?

    Thanks.

    Sean
    Sean
    Keymaster

    Posts: 4472
    Support Staff Reply #7625

    Hi,

    Sorry, i could not fully understand your question. You can get all bootstrap modal related info from the official documentation:
    http://getbootstrap.com/javascript/#modals

    If you need any further help please provide us more details for your requirements.

    Thanks.

You must be logged in to reply to this topic.