Java lovers
I love java
2013年12月12日星期四
Ask questions about ajax
Wrote a user name with ajax validation code , the string returned results in
tag inside not show up, but will
replaced
< ;/ textarea> will be able to show up, how is this going ?
------ Solution ---------------------------------------- ----
how to return ah, how to write within the span of a innerhTML, or html () it
------ For reference only ----------- ----------------------------
user login
Username :
Password :
------ For reference only ----------------------------- ----------
page code when upstairs , login_name and login_password loses focus will call ajax validation, but you can not actually display the results in the span , the span can be replaced textarea display the results , engage do not know how this is going .
------ For reference only -------------------------------------- -
document.getElementById ("login_password_error") value = xhr.responseText;.
I returned with this statement .
------ For reference only -------------------------------------- -
Oh , I see , thank you very much !
没有评论:
发表评论
较新的博文
较早的博文
主页
订阅:
博文评论 (Atom)
没有评论:
发表评论