Skip to main content

Bug Tracker

Side navigation

Ticket #4719: test.html


File test.html, 0.6 KB (added by jtate, June 02, 2009 07:50PM UTC)

test page

<html>
<head>
<script src="/js/jquery-ui-1.7.1/js/jquery-1.3.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
function load_tab_content(data, type) {
    var foo = jQuery(data);
    return foo.find('#div');
}

function tabify_categories() {
    //Tabify the categories
    jQuery.ajax({
        'url': 'blank.html',
        'dataFilter': load_tab_content
    });
}

    jQuery(document).ready(function () {
            jQuery('#button').click(tabify_categories);
    });

</script>
</head>
<body>
    <input id="button" type="button" value="press"/>
</body>

Download in other formats:

Original Format