ポスト私はあなたを助けるだろうが、あなたのJSをデバッグしている私のコントローラの下には私の見解
<script type="text/javascript">
$(document).ready(function() {
loadPiece("<?php echo $html->url(array('controller'=>'daily_videos','action'=>'pagination_viewall'));?>","#container-box");
var href = <?php echo $html->url(array('controller'=>'daily_videos','action'=>'pagination_viewall'));?>;
var divName = "container-box";
var divPaginationLinks = "container-box #pagination a";
$(divPaginationLinks).click(function() {
var thisHref = $(this).attr("href");
// loadPiece(thisHref,divName);
$("#container-box").load(thisHref);
return false;
});
});
</script>
<div id="container-box" class="clearfix">
</div>
ですコード?
$().ready(function() {
$('#container-box #pagination a').live('click', function(e){
// Add a class loading to the container box
$('#container-box').addClass('loading');
// Get the data from the link into the container box
$('#container-box').load($(this).attr('href'), function() {
// Remove the loading class again
$(this).removeClass('loading');
});
// Stop the default action, following this link
e.preventDefault();
});
});
:私がこれを行うための適切な方法は、以下のTEのようなものになると思います
(..などなしloadPiece機能、「」なしURL文字列、)エラーの完全に思えます