$(document).ready(function() {

 // executes when HTML-Document is loaded and DOM is ready
 alert("document is ready");
});


$(window).load(function() {
 // executes when complete page is fully loaded, including all frames, objects and images
 alert("window is loaded");
});



-  window.load vs document.ready 

- window.load document.ready  차이점

- window.load document.ready  비교



http://hangaebal.blogspot.kr/2014/06/windowload-vs-documentready.html

http://stackoverflow.com/questions/8396407/jquery-what-are-differences-between-document-ready-and-window-load

'Blogger 이사' 카테고리의 다른 글

[JavaScript] key, value Array Sort  (0) 2016.01.14
[Javascript] key value Array  (0) 2016.01.14
[jQuery] jQuery 이벤트 호출  (0) 2016.01.14
[SQLite] Web SQL INSERT OR ...  (0) 2016.01.14
[SQLite] Web SQL 여러줄 삽입  (0) 2016.01.14
"INSERT OR IGNORE" (="INSERT ON CONFLICT IGNORE")

> 초기값 셋팅에 활용

"INSERT OR UPDATE"
> 중복시 값 변경에 활용




- INSERT OR IGNORE

- INSERT OR UPDATE


http://hangaebal.blogspot.kr/2014/06/web-sql-insert-or.html



'Blogger 이사' 카테고리의 다른 글

[JavaScript] key, value Array Sort  (0) 2016.01.14
[Javascript] key value Array  (0) 2016.01.14
[jQuery] jQuery 이벤트 호출  (0) 2016.01.14
[Javascript] window.load vs document.ready  (0) 2016.01.14
[SQLite] Web SQL 여러줄 삽입  (0) 2016.01.14
insert multiple rows at a time in an SQLite database

MySQL example:
INSERT INTO 'tablename' ('column1', 'column2') VALUES
  ('data1', 'data2'),
  ('data3', 'data4'),
  ('data5', 'data6'),
  ('data7', 'data8');

This can be recast into SQLite as:
INSERT INTO 'tablename'
      SELECT 'data1' AS 'column1', 'data2' AS 'column2'
UNION SELECT 'data3', 'data4'
UNION SELECT 'data5', 'data6'
UNION SELECT 'data7', 'data8'


http://hangaebal.blogspot.kr/2014/06/web-sql.html

http://stackoverflow.com/questions/1609637/is-it-possible-to-insert-multiple-rows-at-a-time-in-an-sqlite-database


'Blogger 이사' 카테고리의 다른 글

[JavaScript] key, value Array Sort  (0) 2016.01.14
[Javascript] key value Array  (0) 2016.01.14
[jQuery] jQuery 이벤트 호출  (0) 2016.01.14
[Javascript] window.load vs document.ready  (0) 2016.01.14
[SQLite] Web SQL INSERT OR ...  (0) 2016.01.14
OpenJDK

sudo apt-get install openjdk-7-jdk




JRE vs OpenJDK vs Oracle JDK

Before we go on seeing the process to install Java, let’s quickly understand the difference between JRE, OpenJDK and Oracle JDK.

- JRE (Java Runtime Environment) is what you would need normally to run a Java based application. This is all you need if you are not a programmer.
- JDK stands for Java Development Kit and this is what you need to if you have to do some development (read programming) related to Java.
- OpenJDK is Open Source implementation of Java Development Kit while Oracle JDK is the official Oracle version of Java Development Kit. While OpenJDK is sufficient for most of the cases, some programs such Android Studio suggests to use Oracle JDK to avoid UI/performance issue.



Oracle JDK

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
sudo apt-get install oracle-java7-set-default




- ubuntu jdk 1.7 install
- ubuntu jdk install
- ubuntu jdk 설치


참고 :

http://itsfoss.com/install-java-ubuntu-1404/



sudo apt-get install tomcat7





- ubuntu tomcat install
- ubuntu tomcat7 install



+ Recent posts