Last active
May 31, 2018 07:54
-
-
Save firstfu/9ccbcd7356e6b534f14862789de214fc 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
##全部載入完成 | |
$(window).load(function() { | |
}); | |
##指定元素載入完成 | |
$("#test").load(function(){ | |
$("#test").eq(0).text('請選擇'); | |
}); | |
##HTML開始載入 | |
$(document).ready(function($){ | |
$("img").load(function(){ | |
$("div").text("图像已加载!!!"); | |
}); | |
}); | |
##取出點擊的列在table為第幾個 | |
$(this).parent().parent().parent().parent().find("tr").index($(this).parent().parent().parent()[0]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment