enter code hereI want to insert this code to my .ctp file
<script> $(document).ready(function(){ $('open').click(function(){ $('#pop_background').fadeIn(); $('#pop_box').fadeIn(); return false; }); }); </script> it should work with this
<a href="#" id="open">Open popup box</a> I have created the relevant CSS files and div for 'pop_background' and 'pop_box'. Now it should be appeared when I click the 'open popup box' link. how can I do this in CakePHP
opentag, I assume you wanted to have open class -.openor open id#open