GUI Components JavaScript DHTML



DynAPI Examples - HTML DatePicker


dynapi.library.setPath('./dynapisrc/');
dynapi.library.include('dynapi.api');
dynapi.library.include('TemplateManager');
dynapi.library.include('HTMLDatePicker');


var t = 'This is the Template:
Select a Date of Birth:
{@dpDOB}
';
var tp = new Template(t,100,100,250,200,'#EEEEEE');
tp.addChild(new HTMLDatePicker(null),'dpDOB');
tp.dpDOB.addEventListener({
  onchange:function(e){
    var o=e.getSource();
    status = o.getDate();
  }
});
dynapi.document.addChild(tp);






           
         
  
dynapi.zip( 791 k)