I am practicing with applying/removing attributes. Here is the code: http://jsfiddle.net/timur/3mG8g/ How come my 'submit button' won't toggle when i'm checking and unchecking the checkbox?
hi, i am trying to count list elements. i was successful at counting a single list. however when i added a secondary list of elements, my code sums both lists (and i am interested to keep the count separately) here is my code: http://jsfiddle.net/timur/NNxw4/2/
i am trying to animate an image with jquery but running into issues.
first, I want the image to be initially hidden; second, I want it to slide to the left from the right side of the screen; from its initial placement of 700px outside of the screen.
my code works on firefox. my code doesnt work as expected on IE and Chrome.
questions: 1. how can i get rid of the bottom scroll bar in firefox? 2. why the fadeIn line doesnt get executed? 3. how can i make it work consistently in all browsers?
I have a background in html and css but new to js. I started coding a 'tabs example' and got stuck when i reached the JS part... The HTML has 2 lists 'nav' and 'content' The CSS accommodates the design.
Now; my intentions are that once you click the <li> in the nav, 1) show the content of the <li>; 2) hide the rest of the <li> content ; 3) add the class 'active' to a nav <li> (to make the tab white) 4) clear any 'active' classes from the rest of the nav <li> (to be gray by default)
Is this the correct approach? Can someone help getting started with the syntax..