JQuery toogleClass problem
By
robeng
in Programming
in Programming
Go to solution
Solved by SCHISCHKA,
i think your code is not being run at page load. try this
$(document).ready(function(){
alert("this works on load");
//JQuery
$("#menu").click(function(event){
$("nav ul").toggleClass("menushow");
});
alert("if this alert doesnt load there is a error in syntax above");
}
-
Topics
-
0
-
0
-
0
-
0
-
3
-
4
-
john b ·
Posted in Phones and Tablets3 -
NukoTi ·
Posted in Troubleshooting4 -
0
-
DaveStatteo ·
Posted in Displays7
-
-
play_circle_filled
Latest From ShortCircuit:
The World's Fastest CPU (Technically...) - Intel i9-14900KS
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now