WebSite-PHP Framework PHP
Multi langues
Mode Ajax simple
Aucun HTML, aucun JavaScript
URL rewrinting
Envoi d'email
Sitemap - RSS - Web service
Télécharger le Framework WebSite-PHP maintenant
 


Loading
 


Tutorial : ComboBox with javascript 
alert on change

Tutoriels

>

Tutoriel Combobox

>

Tutorial : ComboBox with javascript alert on change


Combobox-04: Tutoriel du composants Combobox du FrameWork PHP WebSite-PHP.

Tutorial : ComboBox with javascript alert on change:




Retourner aux tutoriels du composants Combobox



Code source

Code source


Fichier: /pages/tutorials/combobox/combobox-04.php

<?php
class Combobox04 extends Page {
    public function 
InitializeComponent() {
        
parent::$PAGE_TITLE "Tutorial : ComboBox with javascript 
                                alert on change"
;
        
        
$this->render = new ComboBox($this);
        
$this->render->addItem("value 1""value 1");
        
$this->render->addItem("value 2""value 2");
        
$this->render->addItem("value 3""value 3");
        
$this->render->onChangeJs("alert('change');");
        
$this->render = new Object($this->render"<br/>");
    }
}
?>


Retourner aux tutoriels du composants Combobox


Share

 


Copyright © 2009-2016 WebSite-PHP Framework PHP
Accueil Documentation Télécharger Quick start Tutoriels Wiki Issue Tracker