Something like $('#divid').value = 'newval';
On Jun 26, 4:21 am, soytuny <[EMAIL PROTECTED]> wrote:
> The content that loads into the div could have some javascript that
> updates the hidden field value.
>
> On Jun 25, 3:19 pm, "[EMAIL PROTECTED]"
>
> <[EMAIL PROTECTED]> wrote:
> > Hello guys,
>
> > I'm new on Ajax, actually I'm developing my first project using it via
> > cake's ajax helper ... that's why I'm little confused on how to
> > implement this functionality:
>
> > I have a form which ask for a date, once you select a date it has an
> > observeField for an input field which shows me in a div how many
> > events I have for selected date. This is already done, now I want to
> > pass to a hidden tag the id of the selected date once you choose one
> > date, how can I update a div and a hidden tag at the same time?
>
> > I hope you can help me ...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---