If more flexibility is needed, there is nothing wrong to use HTML code in JSXGraph text elements, like
var t = board.create('text', [0, 1, '<input type="radio" name="xy" value="1"> ...']);
var a = board.create('slider', [[1,4],[2.5,4],[0, 0.25, 0.3]],{name:'a'});
a.on('up',function(){ console.log("up"); });
a.on('move',function(){ console.log("move"); });