drupal 6: using ahah for forms with markup types <pre><code>function MyModule_menu() { $items['blah'] = array( 'title' = 'blah', 'page callback' =&gt; 'blah_page', 'type' =&gt; MENU_NORMAL_ITEM ); $items['clickPath'] = array( 'title' =&gt; 'A title', 'page callback' =&gt; 'clickPath_page', 'type' =&gt; MENU_CALLBACK, ); return $items; } function blah_page() { $output = drupal_get_form(MyModule_form); return $output; } function clickPath_page() { return ('you clicked me!'); } function MyModule_form($form,&amp;$form_state) { $output = '&lt;div id="clickDiv"&gt;Click me&lt;/div&gt;'; $form['blah'] = array( '#type' =&gt; 'markup', '#value' =&gt; $output, '#ahah' =&gt; array( 'event' =&gt; 'click', 'path' =&gt; 'clickPath', 'wrapper' =&gt; 'clickDiv', ), ); return $form; } </code></pre> <p>Why won't the above work? Is it not possible to use ahah and events on form types of 'markup'? Do I have to use my own custom javascript? </p> <p>You can stop reading here! I would like to end my sentences and question here, but stackoverflow is forcing me to input a minimum amount of characters. Apologies in advance!!!!</p>