私はこの関数をもっとうまく動作させようとしていますが、解決策を見つけるために問題があります。jqueryデタッチとロードがフェードイン/アウトする必要があります
私はページを互いにフェードアウトさせたいと思います。 提案がありますか?最良の解決策は、より多くのコンテキスト/ CSS/HTMLせずに、あなたのためになるものを伝えるのは難しいここではオプションの
$('.edit-account').click(function(){
$('#section-wrapper').detach();
$('#inline-cont').load('../my-profile/edit-profile.html #inline_content');
$('#inner-wrap').load('../my-profile/edit-profile.html #section-wrapper', function(){
$('#close-account').click(function() {
$('#section-wrapper').detach();
$('#inline-cont').load('../my-profile/close-account.html #inline_content');
$('#inner-wrap').load('../my-profile/close-account.html #section-wrapper');
});
});
});