Hi, this process is about editing a product page that the user created.
to enable editing I provide a url and pass the id of that product to my controlllers "edit" function, so cake knows what product data to retrieve: link in my view: echo $html->image("icons/edit.gif", array( "alt" => "edit", 'url' => array('controller' => 'products', 'action' => 'edit', $product[Product][id]) )); controller function: function edit() { $this->Product->id = 66; $this->set('myproduct', $this->Product->read()); } now in my "edit.ctp" view i can retrieve the data from the database of that product, because i passed the id. BUT JQuery wont work then. for example: images dont get rendered anymore in my edit.ctp view. this one I use to open a css popup. i dont see the icon, but there is still a link. <a id="icon" href="#?w=500" rel="popup_title"><img src="../img/icons/add.png" /></a> OR calling a controllers function with jquery doesnt work anymore $('#title_content').load('processtitle', {data: title_content}).fadeIn('slow'); As soon as I dont pass the id like this 'url' => array('controller' => 'linkables', 'action' => 'edit') ALL WORKS FINE...so how can passing the id to my controller function affect JQuery?? thank you :) Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en