[jQuery] jquery form plugin - double action (fadein) problem
hello,
i have (very simple) problem.
what i want to do: when form is submited, i must deliver the data from
server to two separate divs (in the same page, one html file)
so i use the code:
$('form#obiekty').ajaxForm({
target: '#oblist , #oblist2',
success: function() {
$('#oblist').fadeIn('slow');
$('#oblist2').fadeIn('slow');
}
});
and later in html i have:
<div id="oblist"></div>
and later
<div id="oblist2"></div>
problem: data is delivered to this two divs, but they refresh (fadein)
twice
:/. I try to use this code:
$('#oblist, #oblist2').fadeIn('slow');"
but efect was the same.
if anyone know the solution, please help
best regards
sk