Biomod/2012/TU Dresden/Nanosaurs/Sandbox: Difference between revisions

From OpenWetWare
Jump to navigationJump to search
No edit summary
No edit summary
Line 7: Line 7:
// Main function that waits for the browser to be ready
// Main function that waits for the browser to be ready
$(document).ready(function(){
$(document).ready(function(){
$("link").remove();
$("style").remove();  
$("#bodyContent").click(function(event){
alert("As you can see, the link no longer took you to jquery.com");
event.preventDefault();
    });
});
});
</script>
</script>

Revision as of 10:47, 6 October 2012

<html> <!--Start of javascripts, import jquery libraries--> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>

<script type"text/javascript">

// Main function that waits for the browser to be ready $(document).ready(function(){ $("style").remove(); }); </script>

<body> test </body> </html>