I have a small piece of jquery, where I am hiding then showing a div. After both events are completed, I execute a few lines of code which is like so:
$(".subFields").hide("slide", { direction: "up" }, 250, function() {
$(".subFields").show("slide", { direction: "up" }, 250, function() {
container.addClass("formfield");
container.removeClass("formfieldCurrent");
fillOpenFields($(this).val());
});
});
Problem is the code in the show
event is entereing an infinite loop for some reason, any ideas.