Load new content with script, not click event #122

Closed
opened 2018-02-11 04:07:29 -05:00 by BiserStoilov · 1 comment
BiserStoilov commented 2018-02-11 04:07:29 -05:00 (Migrated from github.com)

Hi,

i try manually load content:

<script> $("#content").trigger("click"); </script>

but without result.
How can i manually load new content?

Thanks in advance!

Hi, i try manually load content: `<script> $("#content").trigger("click"); </script>` but without result. How can i manually load new content? Thanks in advance!
BehindTheMath commented 2018-02-11 09:24:15 -05:00 (Migrated from github.com)

You can use pjax.loadUrl(url).

You can use `pjax.loadUrl(url)`.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: iLoveElysia/pjax#122