Show Div

Discussion in 'JavaScript' started by oasmat83, Sep 20, 2010.

  1. #1
    Hello,
    Can someone help me please? I'm trying to show a hidden div with the class display when a form is submitted to itself.

    Can someone point me into the right direction or show me a tutorial I can read?

    Thank you
     
    oasmat83, Sep 20, 2010 IP
  2. wab

    wab Member

    Messages:
    57
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #2
    you can call this when you click your submit button
    
      onClick="document.getElementById('myDivId').style.visibility = 'visible';"
    
    Code (markup):
    But if the page get refreshed during the submit process, it won't stay visible.
     
    wab, Sep 20, 2010 IP