ȸ¿ø°¡ÀԡžÆÀ̵ð/ºñ¹øã±â
ȨÀ¸·Î


jquery ajax, $.get(), $.post() »ç¿ë¹æ¹ý
12³â Àü
[ajax]
$.ajax({
  type: 'POST',
  url: url,
  data: data,
  success: success,
  dataType: dataType
});


[get, post]
$.get("test.php");

$.get("test.php", { name: "John", time: "2pm" } );

$.get("test.cgi", { name: "John", time: "2pm" },
   function(data){
     alert("Data Loaded: " + data);
   });

$.get('ajax/test.html', function(data) {
  $('.result').html(data);
  alert('Load was performed.');
});

var jqxhr = $.get("example.php", function() {
    alert("success");
  })
  .success(function() { alert("second success"); })
  .error(function() { alert("error"); })
  .complete(function() { alert("complete"); });


Example: Gets the test.php page contents which has been returned in json format (<?php echo json_encode(array("name"=>"John","time"=>"2pm")); ?>).
$.get("test.php", { "func": "getNameAndTime" },
   function(data){
     alert(data.name); // John
     console.log(data.time); //  2pm
   }, "json");
ÃßõÃßõ : 632 Ãßõ ¸ñ·Ï
¹øÈ£ Á¦¸ñ
215
ÀÏÁ¤½Ã°£ ÀÌ Áö³­ °Ô½Ã¹° Á¤¸®Çϱâ
214
RSS¸¦ ÀÌ¿ëÇÑ ÃֱٰԽù° »Ì±â
213
°£´ÜÇÑ ±ÝÁö´Ü¾î ÇÊÅ͸µ
212
ÁÖ¿ä»çÀÌÆ®µéÀÇ ¸µÅ©Àα⵵ ¸¦ °¡Á®¿Í¼­ º¸¿©ÁÖ±â
211
ÆÄÀÏ À̸§¿¡¼­ È®ÀåÀÚ ÃßÃâ
210
http://ȨÁÖ¼Ò/?mode=xxx Çϴ¹æ¹ý
209
»çÀÌÆ® ¹æ¹®°æ·Î¿Í °Ë»öÇÑ ´Ü¾î ¾Ë±â
208
ÆäÀÌ¡- ´ÙÁß Á¤·Ä : ¿À¸§, ³»¸², º¸Åë
207
ÇöÀç µð·ºÅ丮(Æú´õ) ÆÄÀÏ ¸ñ·Ï º¸±â, PHP¼Ò½º
206
MySQL¿¡ ÀÖ´Â ·¹Äڵ带 php¸¦ »ç¿ëÇؼ­ XML·Î º¯È¯Çϱâ
205
±Ý¾×À» Çѱ۷Πǥ±â ÇØÁÖ´Â ½ºÅ©¸³Æ®
204
ȨÆäÀÌÁö µ¿½ÃÁ¢¼ÓÀÚ¼ö ±¸ÇöÀ» À§ÇÑ PHP ¼Ò½º ÄÚµå
203
¿©·¯ °Ô½ÃÆÇÀÇ °ªµéÀ» °¡Á®¿Í¼­ Á¤·ÄÇϱâ
202
Áֹεî·Ï¹øÈ£°¡ Æ÷ÇÔµÇ¸é °æ°í
201
¾ÆÀ̵𿡠ÇÑ±Û ¹× Ư¼ö¹®ÀÚ Á¦ÇÑ ½±°Ô
200
´ë·® ¸ÞÀÏ ¹ß¼Û ¼Ò½º
199
±âº»ÀûÀÎ ÆäÀÌ¡
198
»çÁø Ä«·¹¸¶ Á¤º¸ exif Ŭ·¡½º
197
display:inlineÀÇ À߸øµÈ ¿ÀÇØ
196
[jQuery] $(document).ready(function(){});
195
phpquery
194
IE6ºÎÅÍ IE9±îÁö ´ëÀÀÇϱâ.
193
HTML ű׸¦ ¸·±â
jquery ajax, $.get(), $.post() »ç¿ë¹æ¹ý
191
jquery form - ajaxForm
190
jquery ÃֽŠ¹öÀü ¿¬°áÇϱâ
189
¸ð¹ÙÀÏÀ¥À¸·Î Æ÷¿öµùÇÏ´Â ½ºÅ©¸³Æ®
188
JQuery ±âº» ¿¹Á¦ ¸ðÀ½
187
¸®´ª½º ƯÁ¤ ¹®ÀÚ¿­ ã±â
186
grep perl Á¶ÇÕÀ¸·Î ÆÄÀϳ» ¹®ÀÚ¿­À» ÇѲ¨¹ø¿¡ º¯°æÇϱâ
¸ñ·Ï
¹ÂÁ÷Æ®·ÎÆ® ºÎ»ê±¤¿ª½Ã ºÎ»êÁø±¸ °¡¾ßµ¿ ¤Ó °³ÀÎÁ¤º¸Ãë±Þ¹æħ
Copyright ¨Ï musictrot All rights reserved.