2011년 9월 21일 수요일

[jQuery] Span object

  1. html()
    It's same as xx.innerHTML();
    It can create object such as select box, check box
    >>$("#obj").html("");
  2. text()
    It just replaces quote in span tag.
    It can't create object.
    >>$("#obj").text("");

댓글 없음: