For test freshly i created a tests controller
class TestsController extends AppController {
var $uses = array();
var $helpers = array('Form','Javascript','Html');
function check_ajax() {
}
}
simple.js
function ajax11() {
$.ajax({
url: "#",
context: document.body,
success: function(){
$('.good').html('works very good');
}
});
}
<?php
//let's load up the jQuery core
$javascript->link('jquery-1.6.1.min', false);
//and now... some file that will be specific to this view (page)
$javascript->link('sample', false);
?>
<a href="#" onclick="ajax11();">Click Me!</a>
<p class='good'></p>
It works in firefox and chrome. But not in Internet Explorer. I have
already started to convert one my website to cakephp. It is half done.
When i check that in ie, i found none of the ajax working. I don't get
any error from IE.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php