客戶端:

巴彥網(wǎng)站制作公司哪家好,找成都創(chuàng)新互聯(lián)公司!從網(wǎng)頁設(shè)計、網(wǎng)站建設(shè)、微信開發(fā)、APP開發(fā)、成都響應式網(wǎng)站建設(shè)等網(wǎng)站項目制作,到程序開發(fā),運營維護。成都創(chuàng)新互聯(lián)公司自2013年起到現(xiàn)在10年的時間,我們擁有了豐富的建站經(jīng)驗和運維經(jīng)驗,來保證我們的工作的順利進行。專注于網(wǎng)站建設(shè)就選成都創(chuàng)新互聯(lián)公司。
var dialog = $("#classifications").dialog({
autoOpen: false,
width: 800,
position: { my: "center", at: "center", of: window },
buttons: {
'Save': function () {
var formData = $("#showClassificationForm").serialize();
$.ajax({
type: "POST",
data: formData,
url: '{{ add_classification_to_maunscript_path(hash_key) }}',
success: function(msg) {
$(".list-clsfi").html(msg);
}
});
$("#classifications").dialog('close');
}
}
});
$("#addClassification").on('click', function(e) {
e.preventDefault();
$.get('{{ list_classifications_path(hash_key) }}', function(msg) {
dialog.dialog('open').html(msg);
});
});服務(wù)器端:
/**
* List all classifications
*
* @param string $hash_key
*/
public function listClassificationsAction($hash_key)
{
$manuscript = $this->getManuscriptByHashKey($hash_key);
if (!$this->currentUser->isOwnerOfManuscript($manuscript) &&
!$this->currentUser->canManageManuscript($manuscript)) {
return $this->stopAndNoPermission();
}
$classifications = ClassificationRepository::getByHashKey($hash_key);
return $this->renderSusyBundle('User:list_classifications.html.twig', array(
'classifications' => $classifications,
'hash_key' => $hash_key
));
}
標題名稱:JqueryUIdialog函數(shù)的基本用法
網(wǎng)頁地址:http://chinadenli.net/article38/pgjppp.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站維護、靜態(tài)網(wǎng)站、小程序開發(fā)、做網(wǎng)站、云服務(wù)器、移動網(wǎng)站建設(shè)
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)