庹庹

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2010年11月25日

摘要: $txtZip.bind('change',function(){  $.ajax({type:"POST",    url: "http://www.demo.url",          data:'{"postalCode":"' + $txtZip.val() + '"}',    contentType:"application/json; charset=utf-8",    dataType:"json",      success:function(ret) {alert(ret[0].Place);},   error:function (xhr){alert("error" 阅读全文
posted @ 2010-11-25 11:03 庹林 阅读(291) 评论(0) 推荐(0) 编辑