pjax Questions
1
Solved
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?...
Antananarivo asked 14/4, 2014 at 18:19
2
Solved
Some our links are wrapped by PJAX. When a user clicks on a PJAX link the server returns only the required part of the HTML.
If I do the following:
Click PJAX link
Click simple link
Press back...
Protest asked 26/7, 2012 at 6:47
2
Solved
Is it considered bad practice to use jQuery's .on() event handler for every event?
Previously, my code contained script like this:
$('#cartButton').click(function(){
openCart();
});
However I'...
Junk asked 28/3, 2014 at 12:35
2
Solved
I want to change html without reload. I do it like:
$('#left_menu_item').click(function(e) {
if (!!(window.history && history.pushState)) {
e.preventDefault();
history.pushState(null, n...
Cody asked 12/2, 2013 at 3:10
3
Solved
I finally got pjax working, but I have another question.. How do I add some jquery animation like fadeout/slideup old content and fadein/slidedown new content?
By default pjax just changes the con...
Zirkle asked 6/3, 2012 at 10:30
3
Solved
I use Pjax with tutorial from http://railscasts.com/episodes/294-playing-with-pjax?view=comments
I don't need change url and this coffee script code doesn't work:
.....
$("a#flag-comments").c...
Valenta asked 27/3, 2012 at 22:20
2
For my website i used pjax. I wants to add fadeout and fadein animations to pages.
I tried this stackoverflow answer
My code is
<script type="text/javascript">
// invoke pjax
$(function...
3
Solved
I'm trying out pjax for an app I'm developing but I've kinda hit a wall.
Maybe I'm going about this the wrong way, let me explain.
In the app, I have a main menu on top, with the different sectio...
Pontoon asked 12/11, 2011 at 8:38
6
Solved
I know this questions has been asked a few times here. But these seem fairly outdated, and it looks like the Adsense for Ajax project has been canned (or at the very least, moving very slowly).
I ...
3
Solved
Most of the times, I put some javascript code in $(document).ready to do some initialization stuffs on the page, like event binding, etc.
But now I would like to use pjax https://github.com/defun...
Plaided asked 14/3, 2012 at 4:51
4
I successfully use pjax for links and forms (GET as well as POST). But now I have a form which also has to send an <input type="file"...>. Since pjax does not support this, I had a look at ht...
1
Solved
First off, I know this has been discussed over and over again. But let's take this as a "late 2012 edition" since things tend to change rapidly on the internet.
I have this web page which is a "cl...
Odd asked 18/10, 2012 at 8:1
1
i have to start a new project, a webapp with lots of forms and screens and i really don't know which technology fit best. The application is an ERP like app, with very few animations and lot of for...
Rounce asked 9/9, 2012 at 23:55
2
Solved
I'm currently using pjax and it works great but I need to run two jQuery functions, one before pjax loads the new url and one after the new url is loaded, how can I do this?
I have tried the follo...
Ewer asked 23/5, 2012 at 4:41
2
For those who don't know what I'm talking about: https://github.com/ThePixelDeveloper/pixel-pagination
When you click on a directory or file github slides the content left to reveal the new conten...
1
Solved
I am using PJAX and it is working great for simple examples, but I need to be able to do a few advanced things with the PJAX requests.
I would like to append some data to each PJAX request. The d...
1
Solved
5
Solved
I've started playing with pjax, as I want to provide a fast, fluid experience for my users without a lot of unnecessary HTTP requests and repeated rendering of unchanged HTML.
I have it working fa...
2
Solved
I have a rails app and I keep getting a weird behavior with pjax requests. When I look into my development logs I could see that two requests are being made. The first request is pjax and the next ...
Dirndl asked 16/11, 2011 at 14:29
2
Solved
I am trying to create site navigation using AJAX. I have navigation menu with links to different views (using {% url name %} in template). The thing I am trying to do is to load the page content us...
© 2022 - 2024 — McMap. All rights reserved.