블로그
-
[JSON]parse() : browser receive data from Web Server with Object
Example - Parsing JSONImagine we received this text from a web server: '{ "name":"John", "age":30, "city ":"New York"}'Use the JavaScript function JSON.parse() to convert text into a JavaScript object: var
blog.naver.com · 2017.10.16
-
How to load only the body content from some static html page via Ajax.
About Services Contact **/ var url; $('#mymenu a').click(function(e){ // Prevent the open link e.preventDefault (); // Retrieve the link value and replace hash mark url = $(this).attr('href').replace('#', ''); //
blog.naver.com · 2017.02.27
-
jquery bootstrap contextmeu
) { $.fn.contextMenu = function (settings) { return this.each(function () { // Open context menu $(this $invokedOn = $menu.data("invokedOn"); var $selectedMenu = $(e.target); settings.......
blog.naver.com · 2016.09.20
-
[JavaScript] date format 날짜 포맷
출처 : http://noritersand.tistory.com/378 String.prototype.string = function(len){var s = '', i = 0; while this.valueOf()) return " "; var weekName = ["일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일"]; var d =
blog.naver.com · 2016.07.12
-
ExtJs Node Select
tree.getSelectionModel().select(tree.getRootNode().findChild("code", current_node, true)); var me = this , panel = me.up('panel'), rn = panel.getRootNode(), regex = new RegExp("ASP.net"); //var c = rn.findChild
blog.naver.com · 2016.03.02
-
css로 li 태그의 높이를 자동으로 가장 긴 li 높이값으로 맞추기
< script type="text/javascript"> $(document).ready(function(){ var max_h=0; $("#aaa li").each( function(){ var h = parseInt($(this).css("height")); if(max_h 1 2 3 <.......
blog.naver.com · 2015.10.15
-
우분투 You don't have enough free space in /var/cache/apt/archives/ 오류 해결방법
가끔 우분투를 쓰다보면 After this operation, 25.1 MB of additional disk space will be used. E: You don't have enough free space in /var/cache/apt/archives/. 이런 오류가 날때가 있다.
blog.naver.com · 2015.09.20
-
[javascript]예약어
import in instanceof int interface long native new null package private super switch synchronized this throw throws transient true try var void while with
blog.naver.com · 2013.11.27
-
dynamic 태그에 onclick 이벤트 넣기
To get IE to execute dynamically built code during the onclick event, do this: Write the code for all other browsers: element.setAttribute( "onclick", object.varName + "method( " + var + " )" );Use a custom
blog.naver.com · 2013.10.30
-
첼시 vs 포츠머스 스카이스포츠 평점 프로토5회차 맨시티 맨유
var runTotal = 0; var numPlayers = 0; function val() { runTotal = 0; numPlayers = 0; if(GetCookie("skySportsRate3268967 ("It appears you have already rated the players for this match!")
blog.naver.com · 2012.01.08