jquery drupal ajax ahah

Events happening in the community are now at Drupal community events on www.drupal.org.
kallis's picture

#ahah

Tjenare!

Undrar om någon kan hjälpa mig...jag har ett formulär med fyra olika 'checkbox'.

I formulärkoden har jag följande:

'#ahah' => array(
'path' => 'minmodul/addfield/js',
'wrapper' => 'wrapper_1',
'method' => 'replace',
'effect' => 'fade',
'event' => 'change',
),
Alltså samma för alla fyra checkboxar.

Hur kan jag i funktionen "minmodul_addfield_js" komma åt vilken av de fyra checkboxarna som triggade eventet?

Tacksam för svar! Trevlig Fredag!

//Kallis

Read more
aaron's picture

Piggybacking on AHAH

For the Media module, I'm trying to attach a new behavior to an AHAH form submit button. I need to open a previously hidden form element, BEFORE the ajax has loaded. This is ultimately for a throbber/progress indicator, and to allow the user to enter meta-data without having to wait for the 120MB video to finish uploading.

Read more
katbailey's picture

Hopefully helpful ramblings about jQuery in Drupal

Hi All,
I already included a link to Part One of this post in a thread below but I've just written Part Two and would love to get some feedback from other jQuery-loving Drupal developers. It gives a brief overview of the history of jQuery in Drupal, discusses jQuery Update module and the difficulty of bridging separate release cycles, looks at best practices for writing jQuery and provides a brief overview of AHAH and Drag & Drop in Drupal 6.

Read more
Subscribe with RSS Syndicate content