0
Ajaxを使用してリソースをロードする最も効率的な方法は、#listing
と#contextActions
の内容を置き換えますか?複数のフラグメントをjQueryでロードする
// Load resource and replace source `listing` with target `listing`.
$('#listing').load('/myuri.php #listing');
// Load resource and replace source `contextActions` with target `contextActions`.
$('#contextActions').load('/myuri.php #contextActions');
確かにこれを行うにはより良い方法が必要ですか?非常に同じリソースで2つのロードリクエストを受け取るという考えが嫌いです!
ありがとう、私は思ったよりも簡単です! –