jQuery的$.ajax示例

$.ajax({
	url: 'index.php?module=products&submod=product_experience_manage&method=ajaxGetSelectingParams&do=1&time=' + (new Date()).getTime(),
	async: true,
	data: 'target_id=' + $('#UEparams-select-targets').val() + '&keyword=' + escape($('#UEparams-keyword').val()),
	type: "post",
	dataType: 'json',
	success: function(data) {
		_this.data.selectingParamObjects = data;
		var selectingStr = _this._makeSelectingCheck(1);
		selectingStr += '<li class="clear"></li>';
		$('#UEparams-selectingWrapper').html(selectingStr);
	}
});
posted @ 2016-07-10 15:55  52php  阅读(161)  评论(0编辑  收藏  举报