I agree with Chris, this is most likely your code being wrong rather
than cakephp screwing with your javascript.

Check the html output from the helpers to see if it is what you would
expect.

Also, you don't need to use the helpers when layout out your html. I
would suggest not using them until you know exactly how they work.

Cheers,
Adam

On May 7, 11:09 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On 5/7/07, rockit <[EMAIL PROTECTED]> wrote:
>
> > which gives me the onclick attribute i need to trigger the image.  the
> > image swaps, but also points to a link similar as
> >http://localhost/garydunhamequipment/img/inv/gary_dunham_ver2.gifin
> > the browser.  i just want it to swap like it did in the above
> > example.  i am wondering, is there something possibly different about
> > the headers generated by a cake app that is causing this?
>
> I'm no Javascript guru (but I play one on TV!) but I've built a
> CakePHP that uses a lot of javascript and never found that Cake was
> doing anything that it made it harder to implement Javascript
> functionality.
>
> --
> Chris Hartjes
>
> My motto for 2007:  "Just build it, damnit!"
>
> @TheBallpark -http://www.littlehart.net/attheballpark
> @TheKeyboard -http://www.littlehart.net/atthekeyboard


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