求大神把id改成www.jscghr.comve

在HTML5中,这段代码如何修改、增加代码,才能在用户名和密码不一致时弹出“登录不成功”??求大神指导_百度知道
在HTML5中,这段代码如何修改、增加代码,才能在用户名和密码不一致时弹出“登录不成功”??求大神指导
//&!DOCTYPE html&
&head&&center&
&meta charset=&UTF-8&&
&title&用户信息卡&/title&
&script type=&text/javascript& &
function saveStorage()
var data = new O
data.name = document.getElementById('name').
我有更好的答案
你的例子太乱了,给你个假设吧。例如:用户名文本框的id:username 密码框的id:psd在登陆按钮上添加onclick=&check()&function check(){
var username = document.getElementById(&username&);
var psd = document.getElementById(&psd&);
if(username.value == &&){
alert(&请输入用户名&);
}if(psd.value == &&){
alert(&请输入密码&);
采纳率:48%
为您推荐:
其他类似问题
html5的相关知识
换一换
回答问题,赢新手礼包
个人、企业类
违法有害信息,请在下方选择后提交
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。添福宝|LOFTER(乐乎) - 让兴趣,更有趣
LOFTER for ipad —— 让兴趣,更有趣
下载移动端
关注最新消息
&nbsp&nbsp被喜欢
&nbsp&nbsp被喜欢
{list posts as post}
{if post.type==1 || post.type == 5}
{if !!post.title}${post.title|escape}{/if}
{if !!post.digest}${post.digest}{/if}
{if post.type==2}
{if post.type == 3}
{if !!post.image}
{if post.type == 4}
{if !!post.image}
{if !!photo.labels && photo.labels.length>0}
{var wrapwidth = photo.ow < 500?photo.ow:500}
{list photo.labels as labs}
{var lbtxtwidth = Math.floor(wrapwidth*(labs.ort==1?labs.x:(100-labs.x))/100)-62}
{if lbtxtwidth>12}
{if !!labs.icon}
{list photos as photo}
{if photo_index==0}{break}{/if}
品牌${make||'-'}
型号${model||'-'}
焦距${focalLength||'-'}
光圈${apertureValue||'-'}
快门速度${exposureTime||'-'}
ISO${isoSpeedRatings||'-'}
曝光补偿${exposureBiasValue||'-'}
镜头${lens||'-'}
{if data.msgRank == 1}{/if}
{if data.askSetting == 1}{/if}
{if defined('posts')&&posts.length>0}
{list posts as post}
{if post_index < 3}
{if post.type == 1 || post.type == 5}
{if !!post.title}${post.title|escape}{/if}
{if !!post.digest}${post.digest}{/if}
{if post.type == 2}
{if post.type == 3}
{if post.type == 4}
{if post.type == 6}
{if drlist.length>0}
更多相似达人:
{list drlist as dr}{if drlist.length === 3 && dr_index === 0}、{/if}{if drlist.length === 3 && dr_index === 1}、{/if}{if drlist.length === 2 && dr_index === 0}、{/if}{/list}
暂无相似达人,
{if defined('posts')&&posts.length>0}
{list posts as post}
{if post.type == 2}
{if post.type == 3}
{if post.type == 4}
{if post.type == 6}
this.p={ currentPage:1,pageNewMode:true,isgooglead3:false,ishotrecompost:false,visitorId:0, first:'',tag:'添福宝',recommType:'total',recommenderRole:0,offset:20,type:0,isUserEditor:0, tagConfigPosts:&null&, isForbidKeyword: 0, };这个css显示不出来 求大神看看这个内部样式表标记是什么。解释一下 &htm_百度知道
这个css显示不出来 求大神看看这个内部样式表标记是什么。解释一下 &htm
这个css显示不出来 求大神看看这个内部样式表标记是什么。解释一下
&head&title& CCS格式化网页实验 &/title& &内部样式表标记&
background-color:#CCCCCC;
background-image:url(&bg.gif&);
font-family:宋体;...
&p id=&title&&圣 泉 宴&&#47;p& &div title& &p id=&author&&作者:王勃&&#47;p& &div author& 披襟乘石磴,列籍俯春泉。兰气熏山酌,松声韵野弦。&br&#47;& &br&#47;& 影飘垂叶外,香度落花前。兴洽林塘晚,重岩起夕烟。
&&#47;div& &hr&
& div &&&&&&
作者小传】:&span class=&notice&&王勃&&#47; span&(约650|——676年),字子安,古绛州龙门(今山西河津)人,出身儒学世家,与杨炯、卢照邻、骆宾王并称为“初唐四杰”。他们力求摆脱齐梁艳风,扩大诗歌的题材,表现积极进取的精神和抑郁不平的愤慨。有《王子安集》。
&&#47;div&&body& &&#47;html&
我有更好的答案
你这个是手打的么,看了一下发现&style&&/syle&前半部分没有呢,还有font-family:宋体 和font-family:隶书
后的分号是中文分号,font-size:24px后面是冒号,你把这些改正一下再看看能显示不这个内部样式表,就是在文档头部直接添加的css样式,包含在&style&&/syle&中对应的还有外部样式表,是写在css文件中,通过&link& 标签在(文档的)头部引入内联样式,是直接和表现的标签写在一起的方式,例如&p style=&color:margin-left:20px&&This is a paragraph.&/p&优先级 内联样式&内部样式&外部样式,详细可看下面链接
我想把圣泉宴改成居中和加粗怎么弄啊
#title中增加 text-align:加粗的我看你的代码里不是有么,font-weight:bold
如果感觉不够粗,用数字,像这样font-weight:900
采纳率:94%
你这个不完整啊,内容也没有。下面起码要完整的!&html&&head&&title&&CCS格式化网页实验&&/title&&style&body&{&background-color:#CCCCCC;&background-image:url(&bg.gif&);&}#title{&font-family:宋体;&font-weight:&font-size:24px:&}#author&{&font-family:隶书;color:&font-size:18}.content&{font-size:14px}.notice&{color:font-weight:}&&/style&&/head&&body&&div&id=&title&&这里是title&/div&&div&id=&author&&这里是author&/div&&div&class=&content&&这里是content&/div&&div&class=&notice&&这里是notice&/div&&/body&&/html&
本回答被网友采纳
为您推荐:
其他类似问题
&#xe675;换一换
回答问题,赢新手礼包&#xe6b9;
个人、企业类
违法有害信息,请在下方选择后提交
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。大神给看个hf12的标~~~~~~~~~~~~··
不好意思。。。出了点问题。。。。求删。。。。
您需要登录后才可以回复,请或者
/人参加团购/元&/元

我要回帖

更多关于 hrgxcg2014 01 的文章

 

随机推荐