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,
  );
}