Open bscheshirwork opened 6 years ago
So, I wish add content from selector and script, but I can't use multiple part of content
$(document).pjax('.content a:not(\'[data-pjax="0"]\')', '.content', {fragment:'.content, script'});
https://github.com/defunkt/jquery-pjax/blob/153262eda33e31119eabb97cd5f14365580a3b35/jquery.pjax.js#L691
I can select only first div for this example
div
<div class='content'> </div> -------------------- another content -------------------- <script></script>
So, I wish add content from selector and script, but I can't use multiple part of content
https://github.com/defunkt/jquery-pjax/blob/153262eda33e31119eabb97cd5f14365580a3b35/jquery.pjax.js#L691
I can select only first
div
for this example