'Programming > javascript & HTML' 카테고리의 다른 글

visjs  (0) 2018.09.18
자바스크립트 ES6 와 화살표 펑션 (=>)  (2) 2018.09.18
jquery datatables  (0) 2018.09.17
select - option 투명 배경  (0) 2018.09.17
jquery 테이블 행 추가 / 삭제  (0) 2018.09.17
Posted by 구차니

제목 정렬 하는 등의 기능을 제공하는 자바 스크립트


jquery.dataTables.min.css

[링크 : https://datatables.net/]


+

사용법 보다 보니. npm 에서 무언가 깔아야 하는것 같네?

단독으로 하는건 아닐지도..

'Programming > javascript & HTML' 카테고리의 다른 글

자바스크립트 ES6 와 화살표 펑션 (=>)  (2) 2018.09.18
그래프  (0) 2018.09.18
select - option 투명 배경  (0) 2018.09.17
jquery 테이블 행 추가 / 삭제  (0) 2018.09.17
자바스크립트 배열 관련  (0) 2018.09.14
Posted by 구차니

transparent가 적용 안되니

rgba 값으로 투명하게 지정


[링크 : https://stackoverflow.com/questions/23719520/css-for-select-option-to-be-transparent-background]

'Programming > javascript & HTML' 카테고리의 다른 글

그래프  (0) 2018.09.18
jquery datatables  (0) 2018.09.17
jquery 테이블 행 추가 / 삭제  (0) 2018.09.17
자바스크립트 배열 관련  (0) 2018.09.14
rest api ajax / jquery with HTTP header  (0) 2018.09.12
Posted by 구차니

가장 아래 행 추가 및 삭제

[링크 : https://zetawiki.com/wiki/JQuery_테이블_행_추가/삭제]


이건 체크된 항목이 있는 행만 삭제

[링크 : https://stackoverflow.com/questions/21508134/how-to-remove-checked-table-row-using-jquery]


체크박스 체크 못하도록 막기(disabled)

[링크 : https://okky.kr/article/101777]


선택된 텍스트 박스(input type="text")에 대해서만 색상 변경

[링크 : https://stackoverflow.com/questions/21873591/set-background-color-of-text-field-onfocus]

'Programming > javascript & HTML' 카테고리의 다른 글

jquery datatables  (0) 2018.09.17
select - option 투명 배경  (0) 2018.09.17
자바스크립트 배열 관련  (0) 2018.09.14
rest api ajax / jquery with HTTP header  (0) 2018.09.12
자바 스크립트 변수  (0) 2018.09.12
Posted by 구차니

자바스크립트에서 배열에 추가하는 건 push로 한다고


[링크 : https://www.w3schools.com/js/js_arrays.asp]

'Programming > javascript & HTML' 카테고리의 다른 글

select - option 투명 배경  (0) 2018.09.17
jquery 테이블 행 추가 / 삭제  (0) 2018.09.17
rest api ajax / jquery with HTTP header  (0) 2018.09.12
자바 스크립트 변수  (0) 2018.09.12
JSMpeg timestamp  (0) 2018.09.11
Posted by 구차니
Programming/node.js2018. 9. 14. 15:33


const readline = require('readline');


const rl = readline.createInterface({

  input: process.stdin,

  output: process.stdout,

  completer : completer

});


function completer(line) {

  const completions = '.help .error .exit .quit .q'.split(' ');

  const hits = completions.filter((c) => c.startsWith(line));

  // show all completions if none found

  return [hits.length ? hits : completions, line];

[링크 : https://nodejs.org/api/readline.html]

[링크 : https://gist.github.com/DTrejo/901104]


근데.. 해보는데 nodemon에서는 tab을 못 넘겨주도록 막는 듯?

'Programming > node.js' 카테고리의 다른 글

promise-mysql  (0) 2018.09.18
node.js 동기와 비동기 그리고 promise  (0) 2018.09.18
node.js mysql 모듈  (0) 2018.09.13
node.js 콘솔 입력 받기  (0) 2018.09.12
node.js JSON.parse()  (0) 2018.09.12
Posted by 구차니
Programming/node.js2018. 9. 13. 17:01

귀찮으면, results 필드만 쓰면 될 듯?

connection.query('SELECT * FROM `books` WHERE `author` = "David"', function (error, results, fields) {
  // error will be an Error if one occurred during the query
  // results will contain the results of the query
  // fields will contain information about the returned results fields (if any)

}); 

[링크 : https://www.npmjs.com/package/mysql]

[링크 : https://poiemaweb.com/nodejs-mysql]

[링크 : https://www.w3schools.com/nodejs/nodejs_mysql.asp]


[링크 : http://bcho.tistory.com/892]

'Programming > node.js' 카테고리의 다른 글

node.js 동기와 비동기 그리고 promise  (0) 2018.09.18
node.js readline 자동완성(autocompletion)  (0) 2018.09.14
node.js 콘솔 입력 받기  (0) 2018.09.12
node.js JSON.parse()  (0) 2018.09.12
node-rtsp-stream 사용  (2) 2018.09.12
Posted by 구차니
Programming/node.js2018. 9. 12. 18:53

node.js는 대개 서버용으로 쓰다 보니 콘솔 입력을 받을일이 없어야 하겠지만

그럼에도 불구하고 테스트 툴로 쓰려면 scanf()를 대체할 무언가가 필요하니 검색


require('readline');


[링크 : http://jam-ws.tistory.com/9]

'Programming > node.js' 카테고리의 다른 글

node.js readline 자동완성(autocompletion)  (0) 2018.09.14
node.js mysql 모듈  (0) 2018.09.13
node.js JSON.parse()  (0) 2018.09.12
node-rtsp-stream 사용  (2) 2018.09.12
node.js 글로벌 모듈 목록보기  (0) 2018.09.11
Posted by 구차니

node.js에서 작성하는거 처럼 인자랑 넣어주면 되는거 였군...


[링크 : https://stackoverflow.com/questions/25085012/how-to-call-rest-api-with-jquery-with-additional-headers]

[링크 : https://spring.io/guides/gs/consuming-rest-jquery/]

'Programming > javascript & HTML' 카테고리의 다른 글

jquery 테이블 행 추가 / 삭제  (0) 2018.09.17
자바스크립트 배열 관련  (0) 2018.09.14
자바 스크립트 변수  (0) 2018.09.12
JSMpeg timestamp  (0) 2018.09.11
html5 video timestamp  (0) 2018.09.11
Posted by 구차니

[] 배열

{} 객체


[링크 : https://developer.mozilla.org/ko/docs/Web/JavaScript/Guide/Values,_variables,_and_literals]

[링크 : https://developer.mozilla.org/ko/docs/Web/JavaScript/Guide/Working_with_Objects]

'Programming > javascript & HTML' 카테고리의 다른 글

자바스크립트 배열 관련  (0) 2018.09.14
rest api ajax / jquery with HTTP header  (0) 2018.09.12
JSMpeg timestamp  (0) 2018.09.11
html5 video timestamp  (0) 2018.09.11
html내 <script>의 올바른 위치(?)  (0) 2018.09.04
Posted by 구차니