Kartik Gridivew pjax grid refresh issue

Hi folks,

I am using Kartik’s excellent GridView and I have an issue with the PJAX. I have the code below in a .js file on the page…


    $.pjax.reload({container:'#w0', timeout: 5000});

    }, 6000


When I run this code, it works fine except for the browser reloads the page too. Can anyone help me out here? Is there anyway to stop this?

Thanks in advance!