0

Why if i run code jquery .slideToggle("slow"); sometimes ther any problem ex : button or span don't slide ? What's wrong ?

jquery problem

26th May 2017, 4:51 PM
Aminudin
Aminudin - avatar
5 Answers
+ 10
Do you mean in your code? https://code.sololearn.com/WNq5jU7Q7sFi/?ref=app Because your syntax is totally incorrect, fix it: $(document).ready(function(){ $(".aku").click(function(){ $(".aku1").slideToggle("slow"); }) }) In addition, a black background with a black text = you can't see anything, set as "white" the color of your text, fix it: .aku1 { display:none; color:white; } This is a fixed demo of your code: https://code.sololearn.com/Wq6KlgDEXOnt/?ref=app
26th May 2017, 5:02 PM
Maz
Maz - avatar
+ 2
bakekok bunda :"v
26th May 2017, 10:21 PM
Galih Riski Pratama
Galih Riski Pratama - avatar
+ 1
no on this, its on my pc i have change the background to black on my project but its same this code jquery not run
26th May 2017, 5:23 PM
Aminudin
Aminudin - avatar
0
for mr maz thanks for demo
26th May 2017, 5:24 PM
Aminudin
Aminudin - avatar
0
ndazmu kekok
27th May 2017, 3:54 AM
Aminudin
Aminudin - avatar