1.$("#id")    $("xxxxx") (input, body)

   $(".class") 

2. $("#id  xxx") 空格后跟的是包含

3. $("input[name='name']") input的name属性为name

4. 

$("#id").bind("click", function(event){

  event.target  ---指向id

});

5. $("#id").addClass("");

6. $("#id").css("font-weight", "bold");

 

 

 

相关文章:

  • 2021-09-12
  • 2022-12-23
  • 2021-09-21
  • 2022-02-21
  • 2021-11-19
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-05-22
  • 2021-08-28
  • 2021-10-31
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案