Summarize the AJAX related JS code snippet and browser models.

xiaoxiao2021-04-02  207

In .NET development, make full use of the free control is a good thing, but if you cannot modify the control to achieve your own needs, you should use JS Dafa, premise the method of studying the methods of the various objects of the browser model. Especially familiar with CSS HTML will be very cool. The JS language itself is not high.

1. Dynamically remove the contents of Table inside, do not need to write too much code, one line: tb.removenode (true)

2. Dynamic increase line, in addition to the CreateElement method, can also be relatively short: