It can be done without $ajax->observeField, and it's better because IE
doesn't know the ID of a SELECT (or maybe I'm not capable of doing it
right):

<?php e($javascript->codeBlock("function fnSearch(el) { new
Ajax.Updater('content', '".$html->url("/services/index")."',
{asinchronous:true, evalScripts:true,
parameters:Form.serialize(el.form), requestHeaders:['X-Update',
'content']}) }"));?>

<?php e($form->select("Services/domain", $categories["Domain"], $html-
>tagValue("Services/domain"),
array("id"=>"filterdomain","class"=>"textbox", "style"=>"width:300px",
"onchange"=>"fnSearch(this)")));?>


--~--~---------~--~----~------------~-------~--~----~
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