jQeury Ajax 예제 $.ajax({ type:'POST', url:url, data:{ id1:val1, id2:val2 }, success:function(html){ $('#animated_gif').hide(); $('#result').html(html); }, beforeSend:function(){ $('#animated_gif').show(); }, error:function(e){ alert(e.responseText); } }); 쓸만한 주저리 2015.11.03