实现下拉列表框Option的隐藏和删除(JS)

None.gif DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
None.gif
< HTML >
None.gif 
< HEAD >
None.gif  
< TITLE >  Option Test  TITLE >
None.gif  
< META  NAME ="Generator"  CONTENT ="EditPlus" >
None.gif  
< META  NAME ="Author"  CONTENT ="" >
None.gif  
< META  NAME ="Keywords"  CONTENT ="" >
None.gif  
< META  NAME ="Description"  CONTENT ="" >
ExpandedBlockStart.gifContractedBlock.gif  
< SCRIPT  LANGUAGE ="JavaScript" > dot.gif
InBlock.gif  

ExpandedBlockEnd.gif
  
SCRIPT >
None.gif 
HEAD >
None.gif 
< BODY >
None.gif 
< form >
None.gif  
< select  id ="test" >    
None.gif  
< option  value ="1" > 1 option >    
None.gif  
< option   value ="2" > 2 option >    
None.gif  
< option    value ="3" > 3 option >    
None.gif  
< option    value ="4" > 4 option >    
None.gif  
select >    
None.gif  
< input    type ="button"  value ="确定"   onclick ="RemoveMe();" />
None.gif  
form >
None.gif 
BODY >
None.gif
HTML >
None.gif

转载于:https://www.cnblogs.com/Qizai/archive/2007/08/07/846857.html

你可能感兴趣的:(实现下拉列表框Option的隐藏和删除(JS))