function ctools_ajax_command_submit

cis7 ajax.inc ctools_ajax_command_submit($selector)
cle7 ajax.inc ctools_ajax_command_submit($selector)
elmsmedia7 ajax.inc ctools_ajax_command_submit($selector)
icor7 ajax.inc ctools_ajax_command_submit($selector)
meedjum_blog7 ajax.inc ctools_ajax_command_submit($selector)
mooc7 ajax.inc ctools_ajax_command_submit($selector)

Submit a form.

This is useful for submitting a parent form after a child form has finished processing in a modal overlay.

Parameters

$selector: The CSS selector to identify the form for submission. This can be any selector jquery uses in $().

File

sites/all/modules/ulmus/ctools/includes/ajax.inc, line 112
Extend core AJAX with some of our own stuff.

Code

function ctools_ajax_command_submit($selector) {
  ctools_add_js('ajax-responder');
  return array(
    'command' => 'submit',
    'selector' => $selector,
  );
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.