0% found this document useful (0 votes)
38 views

Bikin Ajax Di Codeigniter

This document provides instructions for using the AJAX for CodeIgniter library. The library allows for AJAX functionality in CodeIgniter web applications through simple to use AJAX helpers. It includes both Prototype and Scriptaculous helpers. To use it, place the AJAX library in the system/libraries directory and JavaScript files in a JavaScript directory accessible via .htaccess rules. JavaScript files can then be included in HTML pages to enable AJAX features.

Uploaded by

ayi imaduddin
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views

Bikin Ajax Di Codeigniter

This document provides instructions for using the AJAX for CodeIgniter library. The library allows for AJAX functionality in CodeIgniter web applications through simple to use AJAX helpers. It includes both Prototype and Scriptaculous helpers. To use it, place the AJAX library in the system/libraries directory and JavaScript files in a JavaScript directory accessible via .htaccess rules. JavaScript files can then be included in HTML pages to enable AJAX features.

Uploaded by

ayi imaduddin
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

AJAX for CodeIgniter User Guide

AJAX for CodeIgniter1.5.1 v0.1


AJAX for CodeIgniter is a CodeIgniter library that provides you
with AJAX functionality for your CodeIgniter web applications. It
comes with simple to use AJAX helpers that you can directly put in
use in your apps. AJAX for CodeIgniter includes both Prototype and
Scriptaculous helpers.

How to use AJAX for CodeIgniter?

Place the AJAX library in the following directory (default libraries


directory):

www-root/system/libraries/

Place the javascript files in your www root directory. For example:

www-root/javascript/

If you use mod_rewrite, make sure you allow the javascript directory to
be accessed. To do this, set up your .htaccess file to look something
like this:

RewriteEngine on
RewriteCond $1 !^(index\.php|images|stylesheets|javascript)
RewriteRule ^(.*)$ /index.php/$1 [L]

Then, simply include whichever javascript files you would like to use in
your html file:

<script src="javascript/prototype.js" type="text/javascript"></


script>
<script src="javascript/effects.js" type="text/javascript"></script>
<script src="javascript/dragdrop.js" type="text/javascript"></
script>
<script src="javascript/controls.js" type="text/javascript"></
script>

file:///Users/developer1/Documents/Ajax%20User%20Guide.htm (1 of 15)7/25/08 10:20 AM

You might also like