
16.07.2009, 10:04
|
|
Участник форума
Регистрация: 14.12.2008
Сообщений: 140
Провел на форуме: 186812
Репутация:
14
|
|
а так можно сделать запрос?
<script type="text/javascript">
$(document).ready(function(){
showCitiesById($('#cityId').val());
});
function showCitiesById (val) {
$('#load-layer').show("fast");
$.ajax({
type: "POST",
url: "jres.php",
data: "cityId="+val,
success: function(html){
$("#cityContainer").html(html);
}
});
$('#load-layer').hide("fast");
}
</script>
|
|
|