Monday, March 4, 2013

Document Ready Method

$(document).ready(function() {

    // everything in here will be run when the DOM is
    // ready to be interacted with
    $(".bar").css("color", "blue").appendTo("#baz");

});

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.