Difference between revisions of "Team:NKU China/Javascript/main"
Revision as of 11:03, 25 June 2017
(
view source
)
Sherry J
(
Talk
|
contribs
)
← Older edit
Revision as of 00:50, 1 July 2017
(
view source
)
Sherry J
(
Talk
|
contribs
)
Newer edit →
Line 1:
Line 1:
$(document).ready(function(){
$(document).ready(function(){
−
$("li").click(function(){
+
−
$(this).addClass("active").siblings().removeClass("active");
+
−
})
+
});
});
Revision as of 00:50, 1 July 2017
$(document).ready(function(){
});