вот код:
<script>
$(document).ready(function(){
$.get("realisations.shtml",function(data){$('#realisations').empty().append(data)});
});
</script>
Мне нужно выполнить $ (". Toexpand"). Hide (); убедившись, что данные загружены в div
эта попытка не работает:
<script>
$(document).ready(function(){
$.get("realisations.shtml",function(data){$('#realisations').empty().append(data)},function(){$(".toexpand").hide()});
});
</script>