[問題] jquery的檢查帳號應用一問?
各位大大
我寫了一個簡單的帳號檢查
怪的是
firefox可以執行
ie卻完全沒反應
我實在找不出問題
可以請大大解惑嗎
程式碼
$(document).ready(function(){
$('#textaccount').blur(function(){
alert($('#textaccount').val());
$.ajax({
url: 'id_validate.php',
type: 'GET',
data: {
textaccount: $('#textaccount').val()
},
error: function(xhr) {
alert('Ajax request 發生錯誤');},
success: function(response) {
$('#accountchk').html(response);
$('#accountchk').fadeIn();
},
});
$('#block').click(function(){
$(this).remove();
});
});
});
網頁是: http://www.onlypet.com.tw/newadd5.htm
謝謝大家:)
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.169.22.167
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):
Ajax 近期熱門文章
PTT數位生活區 即時熱門文章