JSFiddle

  • Handling select event

    jQuery 1.9.1, HTML, CSS, JavaScript

    $(function () {
        // listen for changes and run again
        $("#enrolled").change(function () {
            var selectedYes = $(this).val() == "yes";
            // disable for all entries except ...
  • rcarousel #96 is the latest revision

    jQuery 1.7.2, HTML, CSS, JavaScript, jQuery UI 1.8.18

    $(function () {
        $("#carousel").rcarousel({
            auto: {
                enabled: true,
                interval: 1000
            }
        });
    });
  • Shadow Screen For Popup #49 is the latest revision

    jQuery 2.0.2, HTML, CSS, JavaScript

     function doSomething() {
            alert('hi');    
        }
        $(document).ready(function() {
            $('#open').on('click', function() {
                $('#shadow').show();
                popup = window.open("", "name", "width=400, height ...
  • Open Modal #40 is the latest revision

    jQuery 2.0.2, HTML, CSS, JavaScript

    $('button').click( function() {
      window.showModalDialog("http://jsfiddle.net/KyleMit/UBUzw/1/embedded/result/", "FileUpload",                      "center:yes;resizeable=yes;dialogHeight:300px ...
  • Close Window #100 is the latest revision

    No-Library (pure JS), HTML, CSS, JavaScript

    <button onClick='window.close();' >close me</button>
  • fire onmouseover when element disabled #165 is the latest revision

    jQuery 2.0.2, HTML, CSS, JavaScript

    $(function () {
        $(".enableMouseEvent:disabled").wrap(function() {
            return '<div onmouseover="' + $(this).attr('onmouseover') + '" />';
        });
    });
    function incrementSiblingCounter(el) {
    	val = $(el).next(".counter").html(function(i, val) { return +val+1 })
    }
  • IE Dropdownbox issue

    No-Library (pure JS), HTML, CSS, JavaScript

    $(document).ready(function() {
        $('select').ieExpandSelectWidth();
    });
    
  • IE DropDown Issue #13 is the latest revision

    jQuery 2.0.2, HTML, CSS, JavaScript

    /* This is our inline script used to modify the behaviour of the combo boxes under IE
     * Feel free of course ...
  • IE8 DropDown Issue #4 is the latest revision

    jQuery (edge), HTML, CSS, JavaScript

    if (!$.support.leadingWhitespace) { // if IE6/7/8
        $('select.wide')
            .bind('focus mouseover', function() { $(this).addClass('expand').removeClass('clicked'); })
            .bind('click ...
  • James Test #5 is the latest revision

    jQuery 2.0.2, HTML, CSS, JavaScript

    $(function() {
    setTimeout(function(){alert('James is the King!!!')},10000);
    });