Home › Forums › JavaScript › Jquery expand › Re: Jquery expand
January 12, 2013 at 11:52 pm
#120846
Mottie
Member
@chrisburton Not a problem! :P
Yeah I wasn’t sure why the `.promise()` was needed, I don’t use it much except for ajaxy stuff. The `slideToggle()` allows adding a callback function within it ([ref](http://api.jquery.com/slideToggle/)) – `$(‘.selector’).slideToggle( [duration ] [, complete ] );`