+ 2
jquery
how many "a" characters will be output after the div is clicked three times? a $("div").click(function() { $("div").append("a"); $("div").off("click"); });
2 ответов
+ 1
2
+ 1
1. The event handler will be turned off after the first click.
how many "a" characters will be output after the div is clicked three times? a $("div").click(function() { $("div").append("a"); $("div").off("click"); });