In JQuery I can do something like:
$("#p1").css("color","red").slideUp(2000).slideDown(2000);
:and it runs them in order, but when I try the following in Clojurescript JayQ:
(-> $("#p1")
(css "color" "red")
(slideUp 2000)
(slideDown 2000)
)
: then the methods do not run one after the other. Any ideas on how I can do this?