Created
April 27, 2020 11:41
-
-
Save hechien/68ba926ce63db6f171010c69af08439c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for(let i = 0; i < tr_length; i++) { | |
let | |
detailBtn = `[checkDetailBtn=${i}]`, | |
dropdownMenu = `[dropDownMenu=${i}]` | |
$(document).on('click', detailBtn, function(){ | |
$(dropdownMenu).slideToggle() | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment