Grow your CSS skills. Land your dream job.

Can everything that can be done with JavaScript, also be done with Jquery?

  • # April 24, 2013 at 10:11 pm

    Tittle says it all.

    # April 24, 2013 at 10:51 pm

    jQuery is a JavaScript library, not its own language: everything jQuery can do **is** done in JavaScript.

    # April 24, 2013 at 11:13 pm

    @traq I already know that. But i’ve seen some complex stuff done with javascript that i could not imagine could be done with simple Jquery. But i got my answer. Thanks

    # April 24, 2013 at 11:47 pm

    What I’m getting at is that “either/or” questions are meaningless when you’re dealing with subsets. How do you define using jQuery “without” regular javascript?

    What’s the difference between this

    var el = document.getElementById(“outside”);
    el.addEventListener(“click”, someCrazyImpossibleUsingJQueryFunction, false);

    and this

    $( “#outside” ).click( someCrazyImpossibleUsingJQueryFunction );

    ?

    Does the second example “use jQuery”?

    # April 25, 2013 at 6:27 am

    I think he wants to know if there are things jQuery can’t do. I’d say yes: Canvas stuff.

    # April 25, 2013 at 6:40 am

    @HugoGiraudel that’s what i meant.

    # April 25, 2013 at 6:48 am

    Natively…no…but with a plugin?

    http://plugins.jquery.com/jcanvas/

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

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".