lets says I have a controller name customers, inside it has 3 function which is index, add and edit.
Inside the index.ctp, i put an iframe into it
like this
<a href="customers/edit/1" target="test">HREF</a>
<iframe name="test" width="500" height="200" frameborder="1" src="customers/add"></iframe>
Tho cool part is, it will load the customer/add into the iframe and when I click the hyper link, the customers/edit/1 will load
No comments:
Post a Comment