Team:Dundee/cleanPage.js

From 2011.igem.org

(Difference between revisions)
Line 1: Line 1:
function removeElements()
function removeElements()
{
{
-
   $("#p-logo").remove();
+
   $("#p-logo").hide();
   $("#search-controls").empty();
   $("#search-controls").empty();
   $(".firstHeading").empty();
   $(".firstHeading").empty();

Revision as of 14:21, 27 May 2011

function removeElements() {

 $("#p-logo").hide();
 $("#search-controls").empty();
 $(".firstHeading").empty();

}

$(document).ready(function () {

 removeElements();

});