jquery - how to make a javascript covered slideup? -


when first click answer text area, pop message box

your answer contributing answer stack overflow!  please make sure answer question; q&a site, not discussion forum.  provide details , share research. avoid statements based solely on opinion;  make statements can appropriate reference, or  personal experiences. 

enter image description here

i struggling implement in own system. have checked jquery slideup function, slides text message box down not up.

does 1 know how implement it?

i assuming uses javascript animation.

i'm not sure want, this it? think want use .slidetoggle()

html

<textarea></textarea> <div class="msg">      谢谢你!! </div> 

jquery

$(".msg").slidetoggle();     $("textarea").focus(function(){         $(".msg").slidetoggle();     });     $("textarea").blur(function(){         $(".msg").slidetoggle();     }); 

what want appear , when?


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -