0
$('#maxpage').change(function(event){
    var pars = "max="+this.value;
    $.ajax({
        url: "${createLink(controller: 'Search', action: 'searchProfile')}",
        type: 'POST',
        data: pars,       
        asynchronous:false,                 
        success: function(data) {
            location.reload();//reload the page on the success
        },
    });
});

location.reload(); I want reload the whole page in the successfunction でエラーがスローされますが、エラーが発生します。

4

0 に答える 0