Hi
How does data binding  works in HTML. should I rewrite option values in select tag all the time data changed or data binding exists on C level. If I have
new  Option("label","data") 
object in javascript and options array in in UI is any binding exists to avoid write my own in javascript?
I did created array of Options in javascript. But when I tried assignment to options properties :
 arrayOptions =[];
 for (var i = 0; i < 500; i++) {
          arrayOptions.push(new Option(("label" + i.toString()),"hi"+i));
        }
myselect.options= arrayOptions;
this doesn’t work
I had to go through array one more time use add() function to populate data