html5 - Creating a SelectBox in intel XDK -
i have started coding in intel xdk. instead of showing select items in usual way (drop down menu), want them show in popup , select 1 of item there. have gone through several sites, not find single example give me desired result.
<div data-role="fieldcontain"> <label for="select-choice-1" class="select">choose shipping method:</label> <select name="select-choice-1" id="select-choice-1" data-native-menu="false" > <option value="standard">standard: 7 day</option> <option value="rush">rush: 3 days</option> <option value="express">express: next day</option> <option value="overnight">overnight</option> </select> </div>
it seems easy implement in jquery. problem , can use apis exposed intel xdk. see there exists javascript file in plugins folder named af.selectbox.js. unable trace out how use that. tried intel xdk documentation also. no luck.
if inclined broaden options, came across one, did want. but uses jquery , bootstrap:
<div class="form-group"> <label class="control-label col-sm-offset-2 col-sm-2" for="company">company</label> <div class="col-sm-6 col-md-4"> <select id="company" class="form-control"> <option>small</option> <option>medium</option> <option>large</option> </select> </div> </div>
Comments
Post a Comment