- ajax 데이터 전송 시 .serialize()
--> form에 있는 값들을 한 번에 전송할 수 있음
<form id="example">
<input type="text" name="a" value="1">
<input type="text" name="b" value="2">
<input type="text" name="c" value="3">
</form>
......
$.ajax({
~~
data : $("#example").serialize(),
// { a:'1',b:'2',c:'3' }
~~
})