Continuing Summary - Coding Considerations

2016.10.12:

        When introducing js, css, img and other resource files into jsp, ftl and other files, pay attention to the case of the path of the application file. In windows, case is insensitive and no errors will occur. It fails because linux is case sensitive

 

2016.10.16:

        input text input box, let the user input, to consider the length of the text and whether there can be special characters, when the text is too long, it will be displayed elsewhere on the page, there will be style problems

 

2016.11.15:

        When js numbers are compared, the parseInt(i) method is used for comparison. If you compare directly with var, js can easily make a comparison between strings,

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326629590&siteId=291194637