DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to add data-toggle and data-target using jquery
$("button").on("click", function(){ $($(this).attr("data-target")).modal("show"); });
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#add
#jquery
ADD COMMENT
Topic
COMMENT
Name
8+7 =
Submit