0.0.2 • Published 10 years ago
mocofoteamlist v0.0.2
mocofoteamlist
npm install mocofoteamlist
var mocofoteamlist = require('mocofoteamlist');
mocofoteamlist.getHTMLSelectOptionsForTeams(function gotHTML (err, list) {
if (err) {
console.log(err);
}
// console.log(list);
// Do something, for example
// res.render('home', {
// list: list
// });
});
You should rended this list within a select tag
<select>
<option value="default">--Select</option>
{{{ RENDER THE RETURNED LIST HERE }}}
</select>