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 : SelectList with javascript 
alert on change

Tutoriels

>

Tutoriel Selectlist

>

Tutorial : SelectList with javascript alert on change


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

Tutorial : SelectList with javascript alert on change:




Retourner aux tutoriels du composants Selectlist



Code source

Code source


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

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


Retourner aux tutoriels du composants Selectlist


Share

 


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