Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
1 answer
1k views

JQuery wait until an element has hidden before continuing

My Jquery code is as follows: if($('#LoginFormError').is(':visible'))$('#LoginFormError').slideUp(); //Check inputs and run ajax if(CheckInput('#LoginUsername') && CheckInput('#LoginPassword')...
Blease's user avatar
  • 1,400
0 votes
2 answers
246 views

Jquery Slide Up issue

So my script works but the issue I am having is that when i use the close-but function it hides the div, but after a few seconds the div slidesdown. Am I missing something with like a if statement? ...
Cam's user avatar
  • 1,892
0 votes
1 answer
528 views

Delay slide up on sub menu

I am trying to delay a sub-menu from sliding up when its not being hovered on. Can't seem to get it to work with this jquery at all. thinking css is over riding? it says when the menu should appear ...
codeprokanner's user avatar
4 votes
7 answers
3k views

What is the difference between JQuery's hide() and slideDown()/slideUp()?

It seems like after calling both result is the same.
Sergey's user avatar
  • 48.8k
9 votes
3 answers
24k views

Are jQuery's hide and slideUp methods equivalent?

Do slideUp('slow') and hide('slow') result in the same animation effects? Example Code: $(document).ready(function(){ $("#hide").click(function(){ $("p").hide('slow'); }); $("#show").click(...
Ben's user avatar
  • 25.7k