Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (23 sloc) 569 Bytes
<!DOCTYPE HTML>
<html>
<head>
<script src="jquery.js"></script>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
</head>
<body>
<button id="rs">RS</button>
<button id="sc">SC</button>
<button id="pr">PR</button>
<div id="alvo" style="border:5px solid red"></div>
<script>
l = function(arq){
return function(){
$('#alvo').load(arq)
}
}
$('#rs').click( l('rs.html') )
$('#sc').click( l('sc.html') )
$('#pr').click( l('pr.html') )
</script>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.