jQuery.post(
"../product/lib-category_ajax.php",
"mode=all",
function(data)
{
fullCategoryState = false;
jQuery("#full_category_LOdhwi01_p").html(data);
onClickAll();
}
);
jQuery.ajax({
asyn : true, //동기 방식을 원한다면, asyn:false
type : 'post',
url : '_ajax_categoryInfo.php?shop_userid='+v+'&'+Math.floor(Math.random()*9999999),
data : '',
error : function() { alert('error'); },
contentType : 'application/x-wwwform-urlencoded',
dataType : 'json',
success :
function(odata)
{
if(odata) //결과 값이 있을 경우..
{
}
}
});
'프로그래밍,서버,기타/자바스크립트'에 해당되는 글 1건
- 2012/07/03 아무거나 [jQuery] jQuery.ajax, jQuery.post
받은 트랙백이 없고,
댓글이 없습니다.