[Solved] how to create a jquery toggle using existing html code [closed]


HTML:

<input type="button" value="click me" id="click">
    <div id="info">This is what you are expecting or may not , but im doing this just for fun</div>

Jquery:

$("#click").click(function () {
      $("#info").toggle('slow');
    });

CSS:

#info{
    width:200px;
    background-color:#9494B8;
    border-radius:3px;
    padding:5px;
    display:none;
}

See the
DEMO

5

solved how to create a jquery toggle using existing html code [closed]