what are the “for” and “event” attributes of the script tag (Javascript,HTML)

后端 未结 4 970
情歌与酒
情歌与酒 2020-12-31 02:26

In a web application I\'ve inherited at work which was written about 10 years ago I\'ve noticed the following code snippets repeatedly used:



        
4条回答
  •  借酒劲吻你
    2020-12-31 03:08

    I have seen this kind of code snippet in a classic ASP project, where it uses a simple vbscript form validation method. `

    
        
    

    This onclick event will call the Menu_Validate() method and do form validation.

提交回复
热议问题