
i have done this coding in javascript.
<script type="text/javascript">
$(document).ready(function(){
$("#pw1").click(function(){
$("#1").toggle();
});
});
</script>
<a href='#' id="pw1">Comments</a>
<p id=1></p>
by default toggle is "shown"..but i want it by default "hidden"..
Wat should i add in this coding?

not able to post code..!!!!!so jst posting worn and torn kind of..
anyhow plz tel me a simple example of toggle in which it is by default hidden
---nikita anand
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.