<?phpclass Textbox07 extends Page { private $edt_text = null; public function InitializeComponent() { parent::$PAGE_TITLE = "Tutorial : TextBox with form, callback method on change in AJAX"; $form = new Form($this); $this->edt_text = new TextBox($form); $this->edt_text->onChange("onChangeTextBox"); $this->edt_text->setAjaxEvent(); $this->edt_text->setStripTags("<b><i>"); $form->setContent($this->edt_text); $this->render = $form; } public function onChangeTextBox($sender) { $dialog = new DialogBox("onChangeTextBox", $this->edt_text->getValue()); $this->addObject($dialog); }}?>