Give help. Get help.

  • Anonymous
    # June 30, 2013 at 2:12 pm

    In what situations will jquery addClass() property not work? what makes it not work?

    # June 30, 2013 at 2:28 pm

    Java script not being enabled.

    # June 30, 2013 at 2:40 pm

    @paulie_d -_-
    Well im trying to get this button to add a class but its not working. Any idea why?

    # June 30, 2013 at 2:51 pm

    what it is supposed to do? change background color? it works for me

    # June 30, 2013 at 2:53 pm

    @AlenAbdula The body background color works fine. But the button switch is suppose to change its gradient. But thats not working.

    # June 30, 2013 at 3:00 pm

    There’s a mix of ids and classes. Make “switch” in the CSS and HTML a class and it works. But you need “toggleClass” rather than just add because it adds it but doesn’t return it to the original position.

    # June 30, 2013 at 3:05 pm

    @Boogiesox i did what you said and its working great. Thank you.

    # June 30, 2013 at 3:07 pm

    It’s because you’re using ID’s

    # June 30, 2013 at 3:14 pm

    @AlenAbdula Thanks for the help i fixed it :). Can you delete that pen? kinda making that already :P

    # June 30, 2013 at 3:21 pm


Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.