You are here

function ctools_ajax_command_submit in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 includes/ajax.inc \ctools_ajax_command_submit()

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

includes/ajax.inc, line 448
Utilize the CTools AJAX responder.

Code

function ctools_ajax_command_submit($selector) {
  return array(
    'command' => 'submit',
    'selector' => $selector,
  );
}