The trick is to make the thing work without javascript first and then
make the onClick (and other) handlers replace "normal" browser
behavior. In it's simplest form this involves making sure all href
values do real html things that work without javascript and then making
the onclick for those links do ajax stuff and then return false to stop
the href from executing.

A nice article with a cool way to handle these thing I found here a
while ago.
http://bennolan.com/behaviour/


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

Reply via email to