Cjax 5.9 RC (CodeIgniter Ajax Framework)- Released! |
(08-18-2016, 08:22 PM)John_Betong Wrote:(08-17-2016, 04:18 AM)phpajax Wrote: Update:What happened to http://cjaxboy.com? I don't know that domain. I used to own a similar one though. Ajaxboy.com. I abandoned because I am not quite good at maintaining blogs. (08-18-2016, 05:30 PM)PaulD Wrote: Hey thanks, but no it is fine. I got it. Great work still! No problem. Look, this is the source for the plugin: https://github.com/ajaxboy/cjax/blob/5.9...ination.js At around line 92, it passes the parameters, if you want to change it there is where you'd do it. eg: url + '/' + page + '/' +$options.numberOfItems then in your $options array in the your php, just add 'numberOfItems' to the list, and you are good to go... I hope that sounds easy...
This looks amazing.
One question, does it have the ability of updating a figure on a page without reloading (e.g. the live right now on google analytics)? Thanks, Doomie (08-29-2016, 08:39 AM)doomie22 Wrote: This looks amazing. Yes. You should be able to. This is just a generic example but there are different ways to update items on the page: PHP Code: $ajax->click('element_id_to_click_on' , $ajax->call(array('update','figure'))); Code: <div id='container_id'></div> in your ajax controller PHP Code: class Update { |
Welcome Guest, Not a member yet? Register Sign In |