Thursday, May 27, 2010

Re: Updating text field and observing drop down list using ajax helper

This isn't the answer you were looking for, but hopefully it's more
helpful.

If your example above is your real-life code then why are you using
ajax at all? There is no server side request for data as the data is
already all there. Also why do you want to copy the id from the
select list into the text field when you have it selected in the
select list?

Appears to me that you are approaching this from the wrong angle.

HTH

Paul

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: