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("");

[jQuery] Select box

  1. visibility
    --show
    $("#obj_name").css("visibility","visible");
    --hide
    $("#obj_name").css("visibility","hidden");
  2. event listener for change
    $("#select_lvl10").change(function(){
    -- blahblah
    });

2011년 9월 7일 수요일

2011년 9월 4일 일요일

[python] 괜찮은 파이썬 레퍼런스 사이트

http://www.tutorialspoint.com/python/

[python] 형변환

아주 간단한다.

str(integer) 혹은 int(string)

끝!

[python] 파이썬은 들여쓰기가 중요하다.

파이썬에서는 들여쓰기를 하지 않으면 문법오류가 날 수 있다.
예를들어
sample1
try:
    xxxx
이것과
sample2
try:
xxxx

샘플1과 샘플2는 엄연히 다른 코드로 인식한다.
물론 샘플1과 같이 작성해야한다.

2011년 8월 30일 화요일

[android] 샘플코드 - todo list app

http://www.vogella.de/articles/AndroidSQLite/article.html