Just type in your code:
console.log('hello world!!!!');
Firebug has much more great features and I cannot imagine writing javascript or ajax code without using it. Definitely this is the best firefox extension ever.
console.log('hello world!!!!');
//in you booking model
function create($data) {
if (empty($data['Booking']['country_id'])) {
$data['Booking']['country_id'] = 225;
}
parent::create($data);
}
$this->data = $this->Booking->create();
$this->data['Booking']['country_id'];