1
앞에 추가가되면 내가 JQuery와 아약스() 호출
success: function(html){
$("ul#lists").prepend(html);
$("ul#lists li:first").fadeIn("slow");
}
[아래 코드의 성공 부품] 후 반환 된 태그를 붙이는거야
성공, 나는 페이지가 자동으로 prepend가 일어나는 위치로 스크롤 싶어요. 구문에 대해서는 잘 모르겠지만 다음은 내가 원하는 것입니다.
success: function(html){
if($("ul#lists").prepend(html)) {
//Scroll to the position in the page where the prepend is about to happen
//something similar to the href="#bookmark' in html.
}
$("ul#lists li:first").fadeIn("slow");
}
어떻게하면됩니까?