/** * Gets the Javascript part of the control which is sent to the client side upon the completion of Render * @return string The JS string */ public function GetEndScript() { $strJS = parent::GetEndScript(); QApplication::ExecuteJsFunction('qc.autocomplete', $this->GetJqControlId(), QJsPriority::High); return $strJS; }