* You are viewing Posts Tagged ‘AJAX’

Check your BCA balance with just 1 click!

Hello guys,
I have added a simple BCA balance checker here for anyone who has BCA account in Indonesia.
It is a very small PHP script which has AJAX functionality and using cURL function then a HTML parser class.
You can download the parser here http://php-html.sourceforge.net

I don’t know if it’s illegal? but I just tried to make life easier when we want to check our balance.
As we know that, in the official site (https://ibank.klikbca.com) you have … Continue Reading

Four (4) steps to set up AJAX Helper in CakePHP

CakePHP has a built-in AJAX helper which required Prototype JS (JavaScript) and Script.aculo.us libraries. To create AJAX interactions with CakePHP is pretty simple and clean.

Four (4) steps to set up AjaxHelper so we could begin to use it :

Download the required JavaScript libraries
Prototype JS could be downloaded at www.prototypejs.org
Script.aculo.us could be download at www.script.aculo.us
Place these JavaScript libraries in /app/webroot/js/.
Add AjaxHelper in your controllers.
For example :
class PostsController extends AppController
{
var $name=’Posts’;
var $helpers=array(’Html’,'Javascript’,'Ajax’);
}
We have to include the … Continue Reading