jquery | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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"); });

25th Jul 2018, 11:04 PM
Mohamed Ramadan El Geneidyā€Ž
Mohamed Ramadan El Geneidyā€Ž - avatar
2 Respostas
+ 1
2
25th Jul 2018, 11:04 PM
Mohamed Ramadan El Geneidyā€Ž
Mohamed Ramadan El Geneidyā€Ž - avatar
+ 1
1. The event handler will be turned off after the first click.
25th Jul 2018, 11:17 PM
HoĆ ng Nguyį»…n Văn
HoĆ ng Nguyį»…n Văn - avatar