soderlind.no

I code for fun

jQuery 1.4 Released

| 0 comments

*DRUM ROLL*  jQuery 1.4 is released !!!

It has a lot of new features and enhancements like the examples below:

jQuery("<div>", {
    "class": "test",
    text: "Click me!",
    click: function(){
        $(this).toggleClass("test");
    }
}).appendTo("body");

jQuery("<input>", {
    type: "text",
    val: "Test",
    focusin: function() {
        $(this).addClass("active");
    },
    focusout: function() {
        $(this).removeClass("active");
    }
}).appendTo("form");
Click on a tab to select how you'd like to leave your comment

Leave a Reply

Required fields are marked *.

*


Rodney's 404 Handler Plugin plugged in.