jquery 第二节 Dom和jQuery的互相转换

1、Dom转jQuery

  Dom对象:  var v_dom = document.getElementById("name");

  转换:

  jQuery对象:    var v_jq = $(v_dom);

猜你喜欢

转载自www.cnblogs.com/ljl123/p/9297643.html