Pagination in Codeigniter without page reload - codeigniter

Is there any way in codeigniter Pagination, such that when I click on next page in links my page should not get reload?
I am done with pagination But I am not able to solve this query.
Please Help.
Thank you

Short answer: No
Long answer: What you're asking is creating an AJAX pagination: The "not reloading page" effect is achieved when you use AJAX, that is, programming into the client side to call the server and only reload a part of the website.
That's said, if you wanted to get that, you should look for something like: Codeigniter jquery ajax pagination

Related

is it possible to regenerate pagination after ajax update?

Is it possible to regenerate pagnation after I have made ajax call that changes number of pages that would be returned?
this is how I call it in the blade right now
$comments->links()
Then I allow user to appove/unapprove/mark as spam etc using ajax and after I made ajax call I would like to regenerate pagination without having to reload the page, has anyone done it and how?
Seems like you should have done your pagination in first place in js, something line vue.js makes it easy to work with:
http://www.vuescript.com/pagination/

How to make the Wordpress admin-bar work with AJAX loading

I'm working on a website that uses html5's push- and popstate in combination with ajax-calls to create a website that dynamically loads in Wordpress posts and pages, without causing a page refresh.
I've got that working fine, but I would love it if the black Wordpress toolbar/adminbar that shows at the top of the site when you're logged in as an admin, also reflected the change of content. Is there any way at all to make this happen? So that when I go from a post to page, for example, the "edit" link in the admin bar updates.
I don't think it's as easy as I hope it is, and if it can't be worked out I think I'll just disable the adminbar on the front-end. But it could be that I'm missing something.
Thanks in advance!
I'm working on this myself. I'm gonna build an ajax action and jquery function to do this. I will post here when it's done. For NOW i've instructed my users to just refresh to get the edit link. if you're using HTML5 history then you're on the permalink you want anyways. refresh and let the server regenerate the bar. not perfect but not terrible.
another option is to put edit post links in your template.

codeigniter pagination using ajax jquery

How to create pagination in codeigniter using Ajax? I know how to create simple pagination, but am struggling how to create this thing using ajax.
I happened to stumble on this great project which turns your pagination into Ajax without much coding to your PHP files.
If you don't mind "Scroll to load", you can try out http://www.fieg.nl/infinite-ajax-scroll-a-jquery-plugin
Even if you don't prefer scroll to load, it should give you some idea behind ajax pagination.

How to process form with ajax in smarty

I am stick with smarty template to process form with ajax it should not reload page...
anyone here to show me the write way if need i will post the code also.
thanks
For example, start here:
http://www.ibm.com/developerworks/opensource/library/wa-aj-smarty/index.html?ca=drs-

External HTML page, inside AJAX Iframe?

Hi Masters Of Web Development.
I have a not that simple question this time. I have got a simple external HTML page, that I want to include in my site. The HTML page contains a submit form or something like that, and I wish to send this data from the form, without to reload the whole page. So I decided to put HTML page inside iframe. But, some people said that this is older technology, google doesn't like iframes, etc. So I want to use something like AJAX or JQuery to load that external HTML page, and to send submit form without reloading the whole page with it. :)
Any suggestions on how to make this?
Thanks in advance :)
Do you really need Google to index that iframe form? If that's the only iframe you have throughout the site, it aint going to be a problem in terms of google indexing.
About using the Iframe, if you are not comfortable learning and building ajax-type form, you'll still be fine (like what Frankie commented). Just make sure the form works, usable and compatible with popular browsers.
You want to use the jQuery Forms Plugin. Its very straightforward and easy to turn any normal HTML form into an AJAX form.

Resources