Teacher, what is the difference between the following two methods?
善為
善為 2019-01-06 21:15:14
0
2
948

Teacher, what is the difference between the following two methods? If it is to position the Input, which one is better?

$("input[class='one']").css();

$(".one").css();

< input class="one" type="text"/>

善為
善為

reply all(1)
秋香姐家的小书童

No difference: an object found by element and an object node found by CLASS

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!