I've tried

'#ahah'   => array(
        "url": "/?q=content/js_add_more/pmemo/field_tracks_disks_chapter", 
    "event": "mousedown", 
    "keypress": true, 
    "wrapper": "field-tracks-disks-chapter-items", 
    "selector": "#edit-field-tracks-disks-chapter-field-tracks-disks-chapter-add-more", 
    "effect": "fade", 
    "method": "replace", 
    "progress": { "type": "throbber" }, 
    "button": { "field_tracks_disks_chapter_add_more": "Add another item" } , 
        'after' : 'myJsFunction'

But it is not working.

I wasn't able to find any solutions to this problem.

Thanks for any help.

1 Answer 1


You could handle ajaxComplete jquery event, which is called right after completion of ajax/ahah requests.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.