Javascript delete DIV

Related Tags:

  Var div = document.getElementById ( "DivId"); 
  Div.style.display = "none"; / / deleted without hidden 
  Div.parentNode.removeChild (div); / / delete 


Related articles:

Flash in the guide lines show the two methods
  Answer the question of the two guide lines do appear, look at the original posting a few people replaced by a reference to everyone! Not written any guide.    Hoping to clear NEE!    The first method, the mask law.    Encountered complex curves, the mask can on...
Determine whether the file selection box for the picture
  <FORM Name=form action="" method=post encType=multipart/form-data> <INPUT onpropertychange=document.all.aaaa.src=this.value type=file name=upload> <BR> Width: <INPUT name = W> High: <INPUT name = H> <BR> <INPUT type=submit value=Submit> <...
A small issue raises the priority of the CSS Thinking
  With the B / S becoming increasingly popular procedure, the type of browser more and more Web programmers are increasingly concerned about how to make their pages the code to standardize the problem.    However, if it has any standards, it often will be very strict, and sometimes ev...
Site visits increased personal strategy
  This is an attractive topic, but also the most difficult to solve the problems.    This requires some experience, some people have tried to change numerous times, but found on the counter or maximum 0, you want to break the boundaries, need some guidance.    Because some ...
Style Sheet Overview: CSS code Practical Introduction
  4.    Cascading Style Sheets classification    In order to make the format but the website of the monotonous and necessary for the same selectors can classification, and in accordance with different categories for different design styles.    Basic format is as ...