求解手机被偷走该怎么办办

您的举报已经提交成功,我们将尽快处理,谢谢!
在恋爱时是这样的。说明你喜欢他
大家还关注求解javascript,该怎么处理 - JavaScript当前位置:& &&&求解javascript,该怎么处理求解javascript,该怎么处理&&网友分享于:&&浏览:202次求解javascript,&html&&head&&title&民航管理系统&/title&&style&#dengru{& position:& top:50%;& left:50%;& margin:-150px 0 0 -150& width:300& height:300& border:1& }& &/style&&/head&&body&&div id=&dengru& align=&center&&&form name=&form1& action=&#& onSubmit=&return check()&&&p&&font size=&4&&用户名:&/font&&input type=&text& name=&user&&&/p&&p&&font size=&4&&密
&&码:&/font&&input type=&password& name=&password&&&/p&&p&&input type=&submit& name=&button& value=&登入& style=&font-size=16;height=25width=50&&&&&&input type=&button& value=&退出& style=&font-size=16;height=25width=50& onclick=&alert('哈哈哈哈')&&&&&&input type=&button& value=&游客& style=&font-size=16;height=25width=50&& &br&&/p&&/form&&/div&&/body&&/html&&script language=&javascript&&&!--function check(){if(document.form1.user.value.length==0){alert(&f&);}if(document.form1.password.value.length==0){alert(&f&);}}--&&/script&按理说这样编辑没有什么错误,可是在&form name=&form1& action=&#& onSubmit=&return check()&&这里提示Cannot return from outside a function or method;而且在&script language=&javascript&&提示NLS missing message: Obsolete_attribute_name___ERROR_ in:&
&org.eclipse.wst.html.core.internal.HTMLCorePluginResources求救啊,在线等候,我用的是myeclipse 10------解决方案--------------------&form name=&form1& action=&#& onSubmit=&check()&&//提示很清楚,不能在函数外面执行return,把return去掉就可以了document.form1.user.value.lengthdocument.form1.password.value.length这两个是什么东西,有这种写法??改一下:if(document.getElementsByName('user')[0].value.length==0)下面一个也这样改
------解决方案--------------------HTML code
&script language=&javascript&&
//首先这里最好改为&script type=&text/javascript&&
//&script language=&javascript&& 是较早的用法
function check(){
if(document.form1.user.value.length==0){
alert(&f&);
//这个地方写错了
if(document.form1.password.value.length==0){
alert(&f&);
------解决方案--------------------onsubmit里面写return就是会报警告的,但没关系,可以正常执行。把return删了就失效了。
------解决方案--------------------貌似必须有return吧
要不就直接提交了
12345678910
12345678910
12345678910 上一篇:下一篇:文章评论相关解决方案 12345678910 Copyright & &&版权所有The page is temporarily unavailable
nginx error!
The page you are looking for is temporarily unavailable.
Please try again later.
Website Administrator
Something has triggered an error on your
This is the default error page for
nginx that is distributed with
It is located
/usr/share/nginx/html/50x.html
You should customize this error page for your own
site or edit the error_page directive in
the nginx configuration file
/etc/nginx/nginx.conf.

我要回帖

更多关于 牙痛该怎么办 的文章

 

随机推荐