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

pass vaules to modal


  • l2cinformatica
    Participant

    Posts: 2
    Member Reply #4642

    Hi, I have to pass a value to modal inpage popup (metronic):

    <button type=”button” class=”btn green” data-id=”val1” data-toggle=”modal” href=”#stack2”>value 1</button>

    <button type=”button” class=”btn green” data-id=”val2” data-toggle=”modal” href=”#stack2”>value 2</button>

     

    On click button can’t view value on modal. Can you help me? Thanks

    Sean
    Sean
    Keymaster

    Posts: 4527
    Support Staff Reply #4658

    Hi :),

    Can you check below related discussion: http://stackoverflow.com/questions/24323895/send-parameter-to-bootstrap-modal-window. This link will guide you on how to properly implement this.
    If you need any further clarifications please let us know.

    Thanks.

Tagged: 

You must be logged in to reply to this topic.