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


jquery ajax, $.get(), $.post() »ç¿ë¹æ¹ý
13³â Àü
[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");
ÃßõÃßõ : 760 Ãßõ ¸ñ·Ï
¹øÈ£ Á¦¸ñ
219
¸ÖƼ ÆÄÀÏ ¾÷·Îµå ¿¹Á¦ (Flex2+PHP)
218
Flex 2 ¿Í PHP+MYSQL ¿¬µ¿ ¿¹Á¦
217
DB ³»¿ë ¿¢¼¿·Î »Ì¾Æ¿À±â ( ÆÄ¿öÆ÷ÀÎÆ®, MS ¿öµå°¡´É )
216
ÀÏÁ¤½Ã°£ ÀÌ Áö³­ °Ô½Ã¹° Á¤¸®Çϱâ
215
RSS¸¦ ÀÌ¿ëÇÑ ÃֱٰԽù° »Ì±â
214
°£´ÜÇÑ ±ÝÁö´Ü¾î ÇÊÅ͸µ
213
ÁÖ¿ä»çÀÌÆ®µéÀÇ ¸µÅ©Àα⵵ ¸¦ °¡Á®¿Í¼­ º¸¿©ÁÖ±â
212
ÆÄÀÏ À̸§¿¡¼­ È®ÀåÀÚ ÃßÃâ
211
http://ȨÁÖ¼Ò/?mode=xxx Çϴ¹æ¹ý
210
»çÀÌÆ® ¹æ¹®°æ·Î¿Í °Ë»öÇÑ ´Ü¾î ¾Ë±â
209
ÆäÀÌ¡- ´ÙÁß Á¤·Ä : ¿À¸§, ³»¸², º¸Åë
208
ÇöÀç µð·ºÅ丮(Æú´õ) ÆÄÀÏ ¸ñ·Ï º¸±â, PHP¼Ò½º
207
MySQL¿¡ ÀÖ´Â ·¹Äڵ带 php¸¦ »ç¿ëÇØ¼­ XML·Î º¯È¯Çϱâ
206
±Ý¾×À» Çѱ۷Πǥ±â ÇØÁÖ´Â ½ºÅ©¸³Æ®
205
ȨÆäÀÌÁö µ¿½ÃÁ¢¼ÓÀÚ¼ö ±¸ÇöÀ» À§ÇÑ PHP ¼Ò½º ÄÚµå
204
¿©·¯ °Ô½ÃÆÇÀÇ °ªµéÀ» °¡Á®¿Í¼­ Á¤·ÄÇϱâ
203
Áֹεî·Ï¹øÈ£°¡ Æ÷ÇÔµÇ¸é °æ°í
202
¾ÆÀ̵𿡠ÇÑ±Û ¹× Ư¼ö¹®ÀÚ Á¦ÇÑ ½±°Ô
201
´ë·® ¸ÞÀÏ ¹ß¼Û ¼Ò½º
200
±âº»ÀûÀÎ ÆäÀÌ¡
199
»çÁø Ä«·¹¸¶ Á¤º¸ exif Ŭ·¡½º
198
display:inlineÀÇ À߸øµÈ ¿ÀÇØ
197
[jQuery] $(document).ready(function(){});
196
phpquery
195
IE6ºÎÅÍ IE9±îÁö ´ëÀÀÇϱâ.
194
HTML ű׸¦ ¸·±â
jquery ajax, $.get(), $.post() »ç¿ë¹æ¹ý
192
jquery form - ajaxForm
191
jquery ÃֽйöÀü ¿¬°áÇϱâ
190
¸ð¹ÙÀÏÀ¥À¸·Î Æ÷¿öµùÇÏ´Â ½ºÅ©¸³Æ®
¸ñ·Ï
¹ÂÁ÷Æ®·ÎÆ® ºÎ»ê±¤¿ª½Ã ºÎ»êÁø±¸ °¡¾ßµ¿ ¤Ó °³ÀÎÁ¤º¸Ãë±Þ¹æÄ§
Copyright ¨Ï musictrot All rights reserved.