Bootstrap Modal variables

Bootstrap link to pass variables to modal content
Used to build list of links calling same modal, but each link will pass certain name or variable into modal to be processed
Script below (in Bootstrap 3 but maybe used fine with Bootstrap 4), calls modal passing a PostID to confirm a delete of post
Then when user clicks on "Confirm delete", the tool knows which post to delete
Imported from Alwah.net

Three parts:
Part1: Command ancher to show the modal
Part2: The actual modal and content
Part3: JQuery needed to be called to pass variables into modal

Needs Bootstrap 3, Bootstrap 4.*, JQuery

CodeFunctionName What is this?

Public

Tested

Original Work

Access is limited.

Login here using your Linkedin account. to see or download code.

No registration, not another password to remember, login using your Linkedin account and have access to all public codes in Boldcodes.com

Linkedin Login

Views 3,805

Downloads 1,340

CodeID
DB ID

ANmarAmdeen
701
Attachments
Revisions

v2.0

Saturday
April
6
2019