To make toggle by default hidden

To make toggle by default hidden

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?

View Answers

May 5, 2012 at 12:39 AM

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

$(document).ready(function(){ $("#pw1").click(function(){ $("#1").toggle(); }); });

---nikita anand

Ads









Related Tutorials/Questions & Answers:
To make toggle by default hidden
To make toggle by default hidden  i have done this coding... toggle is "shown"..but i want it by default "hidden".. Wat should i add... kind of.. anyhow plz tel me a simple example of toggle in which it is by default
div overflow hidden
div overflow hidden  How to make div overflow hidden? Thanks   Hi, Here is the code: <div style="widht:200px; height:600px; overflow:hidden;"> </div> Thanks
Advertisements
Hidden Program
Hidden Program  Hello Sir/Madam, I need to know how many files are hidden in a folder or drive using java program
Show a hidden frame previously from another from
Show a hidden frame previously from another from  How can i show a hidden frame previously by this code: jframe_name.hide(); and make it visible from another frame i'm waiting for the answer, and i'll be thankfull
javascript value to hidden input
javascript value to hidden input  How to take input for the hidden fields in JavaScript?   $(".Search").keyup(function() { var id = this.id; $('#'+id+'Temp').val($(this).val
Sending hidden values
Sending hidden values  how to send more than one hidden values through javascript function . Main purpose is to remove href link (Query string should not appear in url bar
stop the running hidden server
stop the running hidden server  Port 8080 required by Tomcat v6.0 Server at localhost is already in use. The server may already be running in another process, or a system process may be using the port. To start this server you
ModuleNotFoundError: No module named 'hidden_markov'
ModuleNotFoundError: No module named 'hidden_markov'  Hi, My... 'hidden_markov' How to remove the ModuleNotFoundError: No module named 'hidden_markov' error? Thanks   Hi, In your python
Hidden Jewels of Kerala
Hidden Jewels of Kerala Destinations Covered: Guruvayoor- Vythiri/Wayanad- Kozhikode Duration: 07 Days /06 nights of Hidden Jewels of Kerala Day 01... Tour of Kerala On the second day of your tour to hidden jewels of Kerala, have
Default Package
Default Package  Can we import default packages???   Yes, you can import the default packages. But there will be no error or exception, if you will not import default packages. Otherwise, importing packages is must
ModuleNotFoundError: No module named 'jenkins-jobs-hidden-param'
ModuleNotFoundError: No module named 'jenkins-jobs-hidden-param'  Hi...: No module named 'jenkins-jobs-hidden-param' How to remove the ModuleNotFoundError: No module named 'jenkins-jobs-hidden-param' error? Thanks  
ModuleNotFoundError: No module named 'jenkins-jobs-hidden-param'
ModuleNotFoundError: No module named 'jenkins-jobs-hidden-param'  Hi...: No module named 'jenkins-jobs-hidden-param' How to remove the ModuleNotFoundError: No module named 'jenkins-jobs-hidden-param' error? Thanks  
ModuleNotFoundError: No module named 'jenkins-jobs-hidden-param'
ModuleNotFoundError: No module named 'jenkins-jobs-hidden-param'  Hi...: No module named 'jenkins-jobs-hidden-param' How to remove the ModuleNotFoundError: No module named 'jenkins-jobs-hidden-param' error? Thanks  
ModuleNotFoundError: No module named 'lektor-hidden-attachments'
ModuleNotFoundError: No module named 'lektor-hidden-attachments'  Hi...: No module named 'lektor-hidden-attachments' How to remove the ModuleNotFoundError: No module named 'lektor-hidden-attachments' error? Thanks  
ModuleNotFoundError: No module named 'mediagoblin-hidden_original'
ModuleNotFoundError: No module named 'mediagoblin-hidden_original'  ...: No module named 'mediagoblin-hidden_original' How to remove the ModuleNotFoundError: No module named 'mediagoblin-hidden_original' error? Thanks
ModuleNotFoundError: No module named 'mediagoblin-hidden_original'
ModuleNotFoundError: No module named 'mediagoblin-hidden_original'  ...: No module named 'mediagoblin-hidden_original' How to remove the ModuleNotFoundError: No module named 'mediagoblin-hidden_original' error? Thanks
ModuleNotFoundError: No module named 'odoo10-addon-sale-layout-hidden'
ModuleNotFoundError: No module named 'odoo10-addon-sale-layout-hidden' ...: ModuleNotFoundError: No module named 'odoo10-addon-sale-layout-hidden' How to remove the ModuleNotFoundError: No module named 'odoo10-addon-sale-layout-hidden' error
ModuleNotFoundError: No module named 'jenkins-jobs-hidden-param'
ModuleNotFoundError: No module named 'jenkins-jobs-hidden-param'  Hi...: No module named 'jenkins-jobs-hidden-param' How to remove the ModuleNotFoundError: No module named 'jenkins-jobs-hidden-param' error? Thanks  
ModuleNotFoundError: No module named 'lektor-hidden-attachments'
ModuleNotFoundError: No module named 'lektor-hidden-attachments'  Hi...: No module named 'lektor-hidden-attachments' How to remove the ModuleNotFoundError: No module named 'lektor-hidden-attachments' error? Thanks  
how to store dynamic array in hidden field in javascript?
how to store dynamic array in hidden field in javascript?  I have... to store it in a hidden field for passing it to the jsp page. so any one help me in how to store it in hidden field
Java Servlet : Hidden Field
Java Servlet : Hidden Field In this tutorial, we will discuss about Hidden Field. It is one of session tracking technique. Hidden Field : Session... for a specific time period. You can maintain session tracking in three ways - Hidden form
How to show only hidden files in Terminal?
How to show only hidden files in Terminal?  Hi, I want to list all the hidden files in a directory. How to show only hidden files in Terminal...; ence symbolic links .?* will only state hidden files Thanks
How to show only hidden files in Terminal?
How to show only hidden files in Terminal?  Hi, I want to list all the hidden files in a directory. How to show only hidden files in Terminal...; ence symbolic links .?* will only state hidden files Thanks
How to show only hidden files in Terminal?
How to show only hidden files in Terminal?  Hi, I want to list all the hidden files in a directory. How to show only hidden files in Terminal...; ence symbolic links .?* will only state hidden files Thanks
how to get the anchor field in hidden field tag
how to get the anchor field in hidden field tag  I have a following code I need to have the value of property "emp" in a hidden field also. when i try to put the following code, I cant get the hidden tag when i see the source
make setup
make setup  i've made jbuilder application how could make autorun or jar executable for this application? waiting your answers soon
Hidden Form Fields
Hidden Form Fields          Hidden form field is used to maintain the session. It is one of the way to maintain the session. In hidden form fields
Artifacts of default
List of Artifacts of default maven depenency
java serializable default constructor
java serializable default constructor  java serializable default constructor
is set interface synchronize by default???????
is set interface synchronize by default???????  is set interface synchronize by default??????? an whether list is syncrhronized by default
How to change color of opened Bootstrap drop down toggle?
How to change color of opened Bootstrap drop down toggle?  HI, On click of the item in the bootstrap based menu a toggle drop down appears. How...: .navbar-default .navbar-nav .open .dropdown-menu>li>a,.navbar-default

Ads