Skip to main content

BIN c9Id5 Documentation

  • Author:

  • Version: 12

  • Description: Simple example of select with onchange handler

  • Created: 2014-10-15

  • Modified: 2016-03-30

  • Source:

     Edit Bin W3C Schema Json-Schema Java Bean Code Default Value as XML

    Printers Embed Responsive

    <complexType name='Form' description='Simple example of select with onchange handler'>
        <field name='Videos' type='Videos'  extra:form.select.onchange='alert("change " + this.value);'/>
    </complexType>
    
    <simpleType name='Videos' type='xs:string' extra:ic.css='input-large' extra:ic.uncamelize='false'  >
    <facet name='enumeration' value='https://www.youtube.com/watch?v=-1oUEswV3YM'/>
    <facet name='enumeration' value='https://www.youtube.com/watch?v=g-NSUXirTkw'/>
    <facet name='enumeration' value='https://www.youtube.com/watch?v=dMnDhDyxt3g'/>
    </simpleType>