How to call the modal window with parameter in bootstrap?

Asked

Viewed 974 times

4

I would like to know how I can call opening a modal window in the bootstrap by passing a parameter. The idea is to open the inserted item of the invoice to edit the quantity.

  • Example: http://jsfiddle.net/Au9tc/605/ - Referent: http://stackoverflow.com/a/10635652/1244639

  • It is an external modal (will open from another file) or the code is already static on the screen?

1 answer

1

You cannot pass as parameter no. What you can do is create an Hidden input inside the modal to play the data you need.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.