Javascript select onchange='this.form.submit()'

前端 未结 6 1100
忘了有多久
忘了有多久 2020-12-01 05:42

I have a form with a select and a few text inputs. I\'d like the form to be submitted when the select is changed. This works fine using the following:

onchan         


        
6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-01 05:48

    Use :

    
                            
        
    提交评论

提交回复
热议问题