문제

I have an html table with rows and a jQuery handler on click.
The click event calls window.location.href which causes a full page refresh.

Can I somehow manually call turbolinks to fetch the page? Should I use PJAX instead?

Thanks

도움이 되었습니까?

해결책

From the Turbolinks Readme:

You can use Turbolinks.visit(path) to go to a URL through Turbolinks.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top