I have a form that is using ajax to filter from a dropdown to another dropdown and then I have ajax setup on the submit button to submit the whole form via ajax.
Everything works fine in the main module page, but the ajax does not work on other module pages.
I don't see any javascript errors in the console, and it seemed that all the javascript files related to drupal's ajax were loaded with the page.
What could the problem be?
Thanks!
Update:
I am using Drupal 7.9. The code that I am using to submit the form in ajax is:
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Transfer'),
'#submit' => array('ajax_create_transaction_submit'),
'#ajax' => array(
'callback' => 'ajax_create_transaction_callback',
'wrapper' => 'user_transfer_panel',
'effect' => 'fade',
'progress' => array(
'type' => 'throbber',
'message' => t('Processing transfer. Please wait...'),
),
)
);
This code is working but only on 1 page within my module.