editable select

丌官凯康
2023-12-01
< div style = " position:relative; " >  
    
< span style = " margin-left:100px;width:18px;overflow:hidden; " >  
    
< select style = " width:118px;margin-left:-100px; "  onchange = " this.parentNode.nextSibling.value=this.options[this.selectedIndex].text; " >  
        
< option value = " -1 " > 请选择1 </ option >  
        
< option value = " 1 " > 请选择2 </ option >  
    
</ select >
    
</ span >
    
< input type = " text "  style = " width:100px;position:absolute;left:0px; "  value = " 请选择... " >  
</ div >
 类似资料:

相关阅读

相关文章

相关问答