当前位置:网站首页>Several methods of JQ obtaining objects

Several methods of JQ obtaining objects

2022-06-26 01:40:00 Juya breeder

if ($(this).eq(0).attr('id') == 'ConsigneeTel')    Judge the current object ID Is it equal to ConsigneeTel 

 var id = $(this).index(".jsfocus");  Get class name with JSFOCUS The sequence number of the object

  $('select[id="CarrierType"]').next().find('.layui-select-title input')      obtain ID/name/Class by CarrierType The class name under the object of contains   layui-select-title input The object of

原网站

版权声明
本文为[Juya breeder]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/177/202206252355037608.html