so i've read a couple discussions but nothing has helped.

i know these things:
i need to have RequestHandler
and set the charset to utf-8

this is my controller:

class ProductsController extends AppController {

        var $name = 'Products';

        var $uses = array('Product', 'Occasion', 'Holiday');

        var $helpers = array('Html', 'Javascript','Ajax');

        var $components = array('RequestHandler');

        function pricerange($id)
        {
                $this->set("CSS", "main");
                $this->RequestHandler->setAjax($this);
                $this->set("product", $this->Product->findAll("Product.price <
50"));
                $this->render('pricerange', 'ajax');
        }
}

this is the view:

foreach($priceRange as $key => $value){
                                        if($key == 0) {
                                        echo '<option value="' . $key . '" >' . 
$value . '</option>';
                                        } else {
                                                echo '<option value="' . $key . 
'" onClick="new
Ajax.Updater(\'image-gallery\', \'' . $html->url("/products/
pricerange/" . $key ) . '\', {asynchronous:true, evalScripts:true});"
>' . $value . '</option>';
                                        }
                                }

everything works fine in firefox but does not work in internet
explorer...anything help would be awesome, thanks.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to