Difference between revisions of "Team:UCL/Protocols"
Line 6: | Line 6: | ||
$(document).ready(function() { | $(document).ready(function() { | ||
$('[name]=item-*').click(function() { | $('[name]=item-*').click(function() { | ||
− | $('# | + | $('#main2').html( |
$('#'+$(this).attr('name')).html() | $('#'+$(this).attr('name')).html() | ||
); | ); | ||
Line 66: | Line 66: | ||
<div id="wrap2"> | <div id="wrap2"> | ||
− | <div id=" | + | <div id="main2"> |
This is default text. | This is default text. | ||
</div> | </div> |
Revision as of 20:27, 5 August 2015