JSFiddle - React, Tailwind, and code Playground

by rwaldron

HTML

<script src="http://code.jquery.com/jquery-1.4.4rc1.min.js"></script>

<a id="dummy" href="http://pixeline.be/experiments/jquerybeta/dummy.html#love">Load me</a><div id="container" style="border: 2px inset #AAA;width:400px;height:400px;overflow:auto"> 
</div>

JavaScript

/*
issue:
internet explorer fails to load if there is hash in the url

*/
$(function() {

    $('#dummy').bind('click', function(e) {
        e.preventDefault();
        $('#container').load($(this).attr('href'));
    });
    return false;
});