在userid字段/ responseText中输入时获取错误而不返回值 [英] Getting error while entry in userid field/responseText not returning value

查看:121
本文介绍了在userid字段/ responseText中输入时获取错误而不返回值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在userid字段中输入时收到错误。当用户输入其用户ID时,会立即触发事件,并使用AJAX方法验证用户ID。但是我收到错误''对象不支持这个属性或方法''。

I am getting error while entry in userid field. When user enter his user id, an event is fired immediately and user id is verified using AJAX method. But I am getting error ''Object doesn''t support this property or method''.

< span class =codeLinkonclick =Blur(this,this.parentNode.parentNode,getChildren(this),true);>展开 | 选择 | Wrap | 行号

推荐答案

尝试以下方法:

try the following:

展开 | 选择 | Wrap | 行号


我试过这个,但没有解决方案。


我认为登录不是< div Id>。这是一个< div class = login>


那么这个问题将如何解决。


谢谢和问候,

Vikas
I have tried this, but get no solution.

I think login is not an <div Id >. It is a <div class=login>

So how this problem will be solved.

Thanks and regards,
Vikas


aaarg ...对不起,我只是快速浏览并忽略了......当然,价值不适用于div ...


只需给你的div一个id =" login" ......你有什么理由不这样做吗?


亲切的问候
aaarg ... sorry i just had a quicklook and overlooked that ... the value will not work with divs ... of course.

just give your div an id="login" ... is there any reason why you didn''t do that?

kind regards


这篇关于在userid字段/ responseText中输入时获取错误而不返回值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆