How to close a div?

Discussion in 'HTML & Website Design' started by irule272, May 28, 2009.

  1. #1
    Hello how can I close a div with a single button click? I want it on the client side so that the page will not reload.

    Thanks!
     
    irule272, May 28, 2009 IP
  2. DaVe™

    DaVe™ Peon

    Messages:
    347
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    use the javascript onclick to do something with the CSS style...

    like a display:none;


    That should do the trick
     
    DaVe™, May 28, 2009 IP
  3. irule272

    irule272 Well-Known Member

    Messages:
    1,153
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    155
    #3
    Dave thanks
     
    irule272, May 28, 2009 IP