theniteowl
Programmer
I am rebuilding a select box using the DOM add() method.
Any way to set the selected attribute through this method so I do not have to loop through the whole set later comparing values in order to set selected correctly?
At my age I still learn something new every day, but I forget two others.
Any way to set the selected attribute through this method so I do not have to loop through the whole set later comparing values in order to set selected correctly?
At my age I still learn something new every day, but I forget two others.