[development] Modifying js settings from ahah?

Steven Jones steven.jones at computerminds.co.uk
Thu Jun 24 16:01:11 UTC 2010

Hi Ricky,

Filefield deals with just this case. Have a look at the filefield_js
function, which is the AHAH page callback in the module. Near the
bottom it manually adds the stuff AHAH needs for the newly added AHAH

Steven Jones
ComputerMinds ltd - Perfect Drupal Websites

Phone : 024 7666 7277
Mobile : 07702 131 576
Twitter : darthsteven

On 24 June 2010 16:57, Richard Morse <remorse at partners.org> wrote:
> Hi! I'm working on hook_form with AHAH elements. I need to be able to add new AHAH elements. Unfortunately, when I add a new AHAH element, the javascript settings are not updated (and possibly the behaviours are not run?), so the new elements don't work properly. Is there something I'm missing?
> Thanks,
> Ricky
> The information in this e-mail is intended only for the person to whom it is
> addressed. If you believe this e-mail was sent to you in error and the e-mail
> contains patient information, please contact the Partners Compliance HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in error
> but does not contain patient information, please contact the sender and properly
> dispose of the e-mail.

More information about the development mailing list