- for ( var i = what.form.<% $opt{'prefix'} %>phonenum.length; i >= 0; i-- )
- what.form.<% $opt{'prefix'} %>phonenum.options[i] = null;
- opt(what.form.<% $opt{'prefix'} %>phonenum, '', 'Select phone number');
+ $('#<% $opt{prefix} %>phonenum').empty();
+ if ( what.form.<% $opt{'prefix'} %>phonenum.type != 'select-multiple' ) {
+ jopt($('#<% $opt{'prefix'} %>phonenum'), '', 'Select phone number');
+ }