作者lazyasa (asa)
看板Ajax
标题[问题] jquery的检查帐号应用一问?
时间Sun Sep 14 22:18:46 2008
各位大大
我写了一个简单的帐号检查
怪的是
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