1.Priority use ID selector
2.Add TagName before Class selector
3.Never add Tag before ID, because ID is unique
4.Use find() instead of children()
5.Chain operations faster than cache
时间: 2024-12-18 13:04:25
1.Priority use ID selector
2.Add TagName before Class selector
3.Never add Tag before ID, because ID is unique
4.Use find() instead of children()
5.Chain operations faster than cache