How wou开发者_运维百科ld you use a div to submit a form, for example? Javascript please
Like this:
document.getElementById("ID of form element").submit()
I have an onchange event attached to a dropdown that does:
this.form.submit();
It's used on an internal utility, so I'm not sure if there is a cross-browser issue, but it's great on IE 7, firefox 3.x, and safari.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论