├── examples
├── chat.php
├── docs
│ ├── php2javascript
│ │ ├── elements_style.php
│ │ ├── document.getElementById.php
│ │ └── about.php
│ ├── element_functions.php
│ ├── php2javascript.php
│ ├── resources
│ │ └── css
│ │ │ └── table.css
│ ├── template.php
│ ├── upgrading.php
│ ├── manipulating_container.php
│ ├── includes.php
│ ├── access_fields_in_parameters.php
│ ├── index.php
│ ├── url_styles.php
│ └── triggers.php
├── arc.php
├── resources
│ ├── images
│ │ ├── arrow.gif
│ │ ├── try_it.png
│ │ ├── console_error.png
│ │ ├── cool_sunglasses.jpg
│ │ ├── nav_bg_darker.jpg
│ │ └── nav_separator_darker.jpg
│ ├── send_form
│ │ ├── top.png
│ │ ├── blank.gif
│ │ ├── bottom.png
│ │ ├── shadow.gif
│ │ ├── view.js
│ │ └── iepngfix.htc
│ ├── other
│ │ └── test.js
│ ├── css
│ │ ├── style.css
│ │ └── table.css
│ └── html
│ │ ├── test.html
│ │ ├── login.html
│ │ ├── test_form.html
│ │ └── not_found.html
├── controllers
│ ├── helper.php
│ ├── post.php
│ ├── pagination.php
│ ├── alert.php
│ ├── confirm.php
│ ├── validation_uploader.php
│ ├── params.php
│ ├── keyup_update.php
│ ├── click_ajax_request.php
│ ├── controller.php
│ ├── test.php
│ ├── flush.php
│ ├── bind.php
│ ├── parameters.php
│ ├── send_form.php
│ ├── invalidate.php
│ ├── send_input.php
│ ├── ajax_request.php
│ ├── overlay.php
│ ├── update.php
│ ├── recursive_ajax.php
│ ├── messages.php
│ ├── overlay_validation.php
│ ├── search.php
│ ├── calc.php
│ ├── call.php
│ ├── ajax_login.php
│ ├── dropdown.php
│ ├── progressbar.php
│ ├── change_value.php
│ └── upload_file.php
├── .htaccess
├── triggers.php
├── ajax.php
├── template_form.php
├── test.php
├── what_is_cjax.php
├── click.php
├── location.php
├── confirm_action.php
├── template.php
├── prepend.php
├── keypress.php
├── load_html_file.php
├── update.php
├── append.php
├── cross_domain_ajax.php
├── post.php
├── replace.php
└── send_form.php
├── cjax
├── core
│ ├── js
│ │ ├── index.html
│ │ ├── .htaccess
│ │ └── cjax.js.php
│ ├── classes
│ │ ├── index.html
│ │ ├── ext.class.php
│ │ ├── std.class.php
│ │ └── format.class.php
│ ├── cache
│ │ └── .htaccess
│ ├── images
│ │ ├── ok.gif
│ │ ├── alert.gif
│ │ ├── error.gif
│ │ ├── loader.gif
│ │ ├── close-x.png
│ │ ├── loadingf.gif
│ │ ├── process.gif
│ │ ├── close-x-hover.png
│ │ └── .htaccess
│ ├── css
│ │ └── .htaccess
│ └── templates
│ │ ├── .htaccess
│ │ └── overlay.html
├── plugins
│ ├── uploader
│ │ ├── css
│ │ │ └── style.css
│ │ ├── .htaccess
│ │ └── uploader.php
│ ├── spin
│ │ ├── .htaccess
│ │ ├── fonts
│ │ │ ├── oxp-demo.eot
│ │ │ ├── oxp-demo.ttf
│ │ │ ├── oxp-demo.woff
│ │ │ ├── Elusive-Icons.eot
│ │ │ ├── Elusive-Icons.ttf
│ │ │ ├── Elusive-Icons.woff
│ │ │ └── oxp-demo.svg
│ │ ├── css
│ │ │ └── style.css
│ │ └── spin.js
│ ├── autocomplete
│ │ ├── .htaccess
│ │ ├── css
│ │ │ └── style.css
│ │ ├── autocomplete.js
│ │ └── helper.js
│ ├── pagination
│ │ ├── .htaccess
│ │ └── pagination.css
│ ├── progressbar
│ │ ├── img
│ │ │ ├── cj.png
│ │ │ └── check.png
│ │ └── progressbar.js
│ ├── uploadify
│ │ ├── uploadify-3.2
│ │ │ ├── uploadify.swf
│ │ │ ├── browse-btn.png
│ │ │ ├── uploadify-cancel.png
│ │ │ ├── check-exists.php
│ │ │ ├── Change Log.txt
│ │ │ ├── uploadify.php
│ │ │ ├── index.php
│ │ │ ├── license.txt
│ │ │ └── uploadify.css
│ │ ├── .htaccess
│ │ ├── uploadify.js
│ │ ├── controllers
│ │ │ └── uploadify.php
│ │ └── uploadify.php
│ ├── animate
│ │ └── animate.js
│ ├── validate
│ │ ├── .htaccess
│ │ ├── validate.php
│ │ └── validate.js
│ ├── basic
│ │ ├── basic.js
│ │ └── info.php
│ ├── ExamplePlugin
│ │ ├── controllers
│ │ │ └── ExamplePlugin.php
│ │ ├── css
│ │ │ └── table.css
│ │ └── ExamplePlugin.js
│ └── hello_world
│ │ └── hello_world.js
├── lib
│ └── .htaccess
├── index.html
├── integration
│ ├── codeigniter
│ │ ├── application
│ │ │ ├── controllers
│ │ │ │ └── AjaxController.php
│ │ │ ├── views
│ │ │ │ ├── test.php
│ │ │ │ └── test2.php
│ │ │ └── response
│ │ │ │ ├── sample.php
│ │ │ │ └── test.php
│ │ └── ajax.php
│ └── default
│ │ ├── testing.php
│ │ └── ajax.php
├── includes.default.php
├── auth.default.php
├── integration.php
└── config.default.php
├── response
├── .htaccess
├── test.php
└── sample.php
├── htaccess.txt
└── ajax.php
/examples/chat.php:
--------------------------------------------------------------------------------
1 | '.print_r($_POST,1).'';
9 | }
10 | }
--------------------------------------------------------------------------------
/cjax/plugins/uploader/.htaccess:
--------------------------------------------------------------------------------
1 | #Some systems might restrict access to remote unrecognized paths. This ensures the files are here are readable.
2 | Options +Indexes
3 | Order deny,allow
4 | Allow from all
5 |
--------------------------------------------------------------------------------
/cjax/plugins/validate/.htaccess:
--------------------------------------------------------------------------------
1 | #Some systems might restrict access to remote unrecognized paths. This ensures the files are here are readable.
2 | Options +Indexes
3 | Order deny,allow
4 | Allow from all
5 |
--------------------------------------------------------------------------------
/cjax/plugins/uploadify/.htaccess:
--------------------------------------------------------------------------------
1 | #Some systems might restrict access to remote unrecognized paths. This ensures the files are here are readable.
2 | Options +Indexes
3 | Order deny,allow
4 | Allow from all
5 |
--------------------------------------------------------------------------------
/examples/controllers/pagination.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Access Denied
6 |
7 |
8 | This directory is not accessible.
9 |
10 |
--------------------------------------------------------------------------------
/examples/controllers/alert.php:
--------------------------------------------------------------------------------
1 | alert($message);
11 | }
12 | }
--------------------------------------------------------------------------------
/cjax/integration/codeigniter/application/controllers/AjaxController.php:
--------------------------------------------------------------------------------
1 | load->file(FCPATH.'ajax.php');
8 | }
9 |
10 | }
--------------------------------------------------------------------------------
/examples/controllers/confirm.php:
--------------------------------------------------------------------------------
1 | success("Do something..");
11 | }
12 |
13 | }
--------------------------------------------------------------------------------
/examples/controllers/validation_uploader.php:
--------------------------------------------------------------------------------
1 | info($data . ' ' . $data2, 6);
12 |
13 | }
14 |
15 | }
--------------------------------------------------------------------------------
/examples/controllers/keyup_update.php:
--------------------------------------------------------------------------------
1 | document('title', $text);
10 |
11 | $ajax->div_response = $text;
12 | }
13 | }
--------------------------------------------------------------------------------
/examples/controllers/click_ajax_request.php:
--------------------------------------------------------------------------------
1 | success("You clicked the button.. $message");
11 | }
12 | }
--------------------------------------------------------------------------------
/examples/ajax.php:
--------------------------------------------------------------------------------
1 | debug($_POST);
15 | }
16 | }
--------------------------------------------------------------------------------
/examples/controllers/flush.php:
--------------------------------------------------------------------------------
1 | flush('#link1');
10 |
11 | $ajax->info("Element has been flushed.. if you click it nothing will happen.",5);
12 |
13 | }
14 |
15 | }
--------------------------------------------------------------------------------
/cjax/plugins/basic/basic.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Basic Plugin Example
3 | *
4 | * basic.js
5 | */
6 |
7 | //this is a very basic plugin demonstrating how to pass data accross.
8 | //look inside info.php for more comments and usage.
9 | function basic(a, b, c)
10 | {
11 | alert(this.test);
12 |
13 | }
--------------------------------------------------------------------------------
/examples/controllers/bind.php:
--------------------------------------------------------------------------------
1 | info("same command..");
20 |
21 | }
22 | }
--------------------------------------------------------------------------------
/cjax/core/js/.htaccess:
--------------------------------------------------------------------------------
1 | #Some systems might restrict access to remote unrecognized paths. This ensures the files are here are readable.
2 | Options +Indexes
3 | Order deny,allow
4 | Allow from all
5 |
6 |
7 | RewriteEngine On
8 | #RewriteBase /
9 | #RewriteRule ^/?(cjax.*js)$ $1 [NC,QSA,L]
10 |
11 |
--------------------------------------------------------------------------------
/examples/controllers/parameters.php:
--------------------------------------------------------------------------------
1 | alert($params);
16 |
17 | $ajax->update('params',$params);
18 | }
19 | }
--------------------------------------------------------------------------------
/examples/controllers/send_form.php:
--------------------------------------------------------------------------------
1 | info("Validation Approved.");
10 | }
11 |
12 | function submit_form($form_fields)
13 | {
14 | $ajax = ajax();
15 |
16 | $ajax->alert("Server Says....\n\nFields submitted: \n".print_r($form_fields,1));
17 | }
18 | }
--------------------------------------------------------------------------------
/htaccess.txt:
--------------------------------------------------------------------------------
1 |
2 | RewriteEngine On
3 |
4 | # If you are having problems with the rewrite rules, remove the "#" from the
5 | # line that begins "RewriteBase" below. You will also have to change the path
6 | # of the rewrite to reflect the path to your base path.
7 | #RewriteBase /
8 |
9 |
10 | RewriteRule ^/?ajax/(.*)$ ajax.php?$1 [NC,QSA,L]
11 |
--------------------------------------------------------------------------------
/cjax/integration/codeigniter/application/views/test.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |

4 |
5 |
6 |
Put your shades on, and get ready to run this test:
7 |
Run Test
8 |
9 |
--------------------------------------------------------------------------------
/examples/controllers/invalidate.php:
--------------------------------------------------------------------------------
1 | invalid(
14 | array(
15 | 'text1'=> 'Enter Value..',
16 | 'text2'=> 'Enter Value..',
17 | 'text3'=> 'Enter Value..'
18 | )
19 | );
20 | }
21 | }
--------------------------------------------------------------------------------
/cjax/integration/codeigniter/application/views/test2.php:
--------------------------------------------------------------------------------
1 | controller && $ajax->function) {
6 |
7 | //calling file, response/test.php:test()
8 | $ajax->call(array('test', 'test2handler'));
9 | }
10 |
11 | ?>
12 |
13 |
14 | Test
15 | init();?>
16 |
17 |
18 |
19 |
20 |
21 |