You are here

function ajax_clean_id in Ajax 6

Gets a clean element id taken from form_clean_id

Parameters

$field_id String:

Return value

String

1 call to ajax_clean_id()
ajax_build in ./ajax.module
Builds the output object

File

./ajax.module, line 488

Code

function ajax_clean_id($field_id) {
  return str_replace(array(
    '][',
    '_',
    ' ',
  ), '-', $field_id);
}