Jquery show function issue - not animating or showing the hidden paragraph, why
- by dave
Here is the html:
$( document ).ready( function( )
{
$( "#testing" ).click
(
function( )
{
$( "#testing2" ).show( "slow" );
}
);
}
);
Link
lksjflksjdlkflskdjflksjdflkjslkjdflk
lsdkflksjgliowtjlskdfjlskdfjlskgs
lksjlk,.x,cmlkvjlkjlwkeoltklfnjsklkj
lksjf.m,.jlkjoliwekjtlkjgkjjlkjlkjll
llvalkiwujoitjlkgskjdkgjlsd,fjlsllll
Here is the css:
testing
{
width: 100px;
height: 50px;
border: 1px solid;
font-size: 22px;
display: block;
text-align: center;
padding: 25px 0px 0px 0px;
}
testing2
{
display: none;
width: 270px;
height: 300px;
background: yellow;
border: 1px solid;
}
For some reason, when i click the link, it does not show the paragraph #testing2, why?