pjax Questions
3
Solved
I am beginner to yii2 & trying to search fields in Gridview using Pjax on search button. I have done this with GET method but I want to do this by using POST method. Then how can I do this with...
2
Solved
I am using django-easy-pjax for making a Single-Page-Application:
base.html:
{% load staticfiles %}
<script type="text/javascript" src="{% static '/static/js/jquery.js' %}"></script>
...
Stralka asked 19/8, 2014 at 21:18
5
I want to be able to refresh a pjax listview without refreshing the whole page. This is the view just the pjax list itself.
<?= Html::Button('refresh-countries', ['class' => 'btn btn-primary...
2
Solved
here is my code
$(document).on('click', '#global-search-button', function() {
$.pjax({
url: "http://localhost/project/brows",
container: '#pjax-container',
timeout: 9000000 ,
})
});
when...
Fumatorium asked 17/3, 2019 at 18:3
6
Solved
i just want to know how to reload multiple pjax? this is my code
$.pjax.reload({container:"#con_camp"});
$.pjax.reload({container:"#con_camp1"});
but only the #con_camp1 is the one that will r...
7
I am trying to make an Ajax GridView using Pjax with delete button. Deleting goes with no Ajax. I am new to Yii2 so any help would be appreciated. Thank you.
index.php
<?php Pjax::begin(['id' ...
5
Solved
I'm trying to integrate PJAX into my Wordpress install, and here's the code I am using for it:
<script src="js/jquery.pjax.js"></script>
<script type="text/javascript">
$(functi...
Melmon asked 21/8, 2011 at 17:15
4
I'm trying to use Pjax widget in a yii2 project.
My goal is to update the div #formsection with some content.
My code:
View
<?php Pjax::begin(); ?>
<div id="formsection"></div>
...
3
PJAX's documentation states that Github uses $.pjax.submit() in submitting a Gist form. A desired feature of an ajax form submission which Github nicely implements is that the URL redirects from th...
Epifaniaepifano asked 23/2, 2013 at 13:45
1
Solved
I need to disable pjax inside pjax container on some anchor tags like cancel/ back button. Below is my code:
Pjax::begin(['id' => 'pjax-container-pac-form','timeout' => 10000, 'enablePushSta...
2
Solved
I have two ActiveForms in a modal window and after submitting first form, I need to update second one and stay in modal.
As I understand pjax can handle that, but can't get it to work properly.
In...
Proportionable asked 23/2, 2015 at 13:1
3
To use pjax in yii2, just like:
<?php Pjax::begin(); ?>
<?= Html::a("Refresh", ['site/index'], ['class' => 'btn btn-lg btn-primary']);?>
<h1>Current time: <?= $time ?>&l...
1
I am using pjax with laravel for faster page loads for the first time, so I don't have much knowledge about it. I am using this package. I have set it up and it seems to be working, only for some p...
Bayless asked 25/5, 2016 at 12:48
2
Solved
I am using Pjax with Gridview and I want all my action button do ajax. By default, they dont, so I googled and found way to remove data-pjax = 0. But still , there are no ajax requests, all of them...
3
Solved
I want to implement Pjax jquery library with codeigniter Other function just works fine. But when i added it woth pagination and its dont works. when i Click pagination button than its change url b...
Gail asked 4/5, 2015 at 6:3
3
Solved
I have a site using PJAX all over the place and I have a few pages that are using AngularJS. For the AngularJS pages I would like to continue to use PJAX to get all the benefits associated with not...
5
Solved
I have been trying to get the forward an back browser buttons to work on a small site using pjax and have come up with the following code to handle class changes and fading in and out the various o...
3
I am a Yii2 beginner. I have almost completed all of my grid-view except for pagination. I tried to use pjax but can't find a solution.
Swamy asked 27/11, 2014 at 7:34
1
Solved
I would like to run a script after sort gridview where pjax is active. I could not find any event handler after reload of gridview. Is there any proper way of event handler after pjax call and refr...
2
Solved
Currently I am translating my ajax calls to regular $.pjax() call. Everything works fine but ajax success function. I can't manage how to call pjax success function with given parameters.
The onl...
Physicalism asked 10/2, 2014 at 14:19
1
Solved
I am using the framework Yii2 with their implementation of Pjax. The controller code adds a header "X-Pjax-Url" that is successfully passed with the response.
The redirect for Pjax is handled thro...
Futilitarian asked 29/8, 2015 at 20:1
2
Solved
I have tried pjax examples in chrome and firefox, i took the sample code and placed it into my own app but it still does a full page reload. The AJAX request happens then the page moves on without ...
Velarium asked 17/8, 2012 at 11:4
1
Pjax will not allow me to specify functions as an option when calling it directly.
$(document).on('click', 'a.inferno-preview', function(event) {
return $.pjax.click(event, {
container: '#preview...
Reliance asked 3/12, 2013 at 17:11
3
Solved
I have form on my page that has the following code
<form class="form">
... bunch of inputs and presentation logic...
<div>
<input type="submit" class="btn btn-primary" id="submit...
Humiliate asked 8/3, 2012 at 17:3
1
I am trying to make an Ajax GridView using Pjax. Everything is working fine except the view, update and delete buttons are not AJAX. The code is:
<?php yii\widgets\Pjax::begin(['id' => 'demo...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.