Jquery show function issue - not animating or showing the hidden paragraph, why

Posted by dave on Stack Overflow See other posts from Stack Overflow or by dave
Published on 2011-01-15T01:49:36Z Indexed on 2011/01/15 1:53 UTC
Read the original article Hit count: 480

Filed under:
|
|

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?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about animation