这段js怎么写啊 IMG1是什么东西象,FaceText1又是什么东西? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 好像是ASP.NET吧?不知道你的IMG之类具体是什么,写了下,你参考一下吧<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>无标题文档</title></head><body><button onclick="fun()">加深</button><label id="lb"></label><script type="text/javascript">function fun(){ var lb = document.getElementById("lb"); var txt = prompt("请输入你要加粗的内容","默认值"); if(txt) { lb.innerHTML = txt.bold(); }}</script></body></html> javascript读取mysql数据库的数据 如何用jquery判断input输入的值是否为0-100的整数? 大神解决下extjs的combobox的赋值问题 各位,怎么用JS获取页面里的全部CSS样式啊。。 启动tomcat没问题,可一打开jsp页面就出现下面的错误 sina的flash幻灯 动态加了内容上去了以后出问题 关于正则表达式的郁闷问题! 求一javascript函数 javascript中传递参数(例如c:\images\2.gif)时,怎么是乱码呢? 求救!!! 关于动态赋事件 关于前辈播客中的日历
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<button onclick="fun()">加深</button>
<label id="lb"></label>
<script type="text/javascript">
function fun()
{
var lb = document.getElementById("lb");
var txt = prompt("请输入你要加粗的内容","默认值");
if(txt)
{
lb.innerHTML = txt.bold();
}
}
</script>
</body>
</html>