minor renovations, beautify round 2 (final)
This commit is contained in:
parent
8410ce6421
commit
14d324c9e4
9 changed files with 26 additions and 23 deletions
|
@ -243,11 +243,11 @@ select.selectedIndex = 0; // первая опция
|
|||
var form = document.forms[0];
|
||||
var select = form.elements.genre;
|
||||
|
||||
for (var i=0; i<select.options.length; i++) {
|
||||
for (var i = 0; i < select.options.length; i++) {
|
||||
var option = select.options[i];
|
||||
*!*
|
||||
if(option.selected) {
|
||||
alert(option.value);
|
||||
alert( option.value );
|
||||
}
|
||||
*/!*
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue