怎么动态改变HTM文件中TITLE的值 <input type="button" name="Button" value="Button" onclick="document.title.='大海'"> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <html><head><title>lansa</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0"><div align="center"> <input type="button" name="Button" value="Button" onclick="document.title='大海'"> <input name="wwwq" type="text" id="wwwq" value="qqqq"></div></body></html> ----main.htm------------<html><head><title>lansa</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head><body bgcolor="#ff0000"><iframe src="Untitled-1.htm" width="100%"></iframe></body></html>----Untitled-1.htm------------<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>Folders</title></head><body ><input type="button" name="Button" value="Button" onclick="parent.title='大海'"></body></html>如果我要通过Untitled-1.htm文件中的onclick事件改变main.htm文件的title的值,怎么写代码? <script language="javascript"> this.title="大海的字符串";</script> jquery单选按钮问题 一点关于cookie的代码,为啥不对? 我的页面a.php有一个框架 这个程序到底哪里错了 var menu=$("ulMenu");是什么意思呀? jqgrid两个表关联筛选数据 求一正则表达式,急,在线等 如何给DataGrid中的数据列添加下拉菜单 求救!百分送上!!还是树!!!! 求助。。showModalDialog 关于表单联动的问题,在线! 关闭父窗口的问题!
<head>
<title>lansa</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
<div align="center">
<input type="button" name="Button" value="Button" onclick="document.title='大海'">
<input name="wwwq" type="text" id="wwwq" value="qqqq">
</div>
</body>
</html>
<html>
<head>
<title>lansa</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head><body bgcolor="#ff0000">
<iframe src="Untitled-1.htm" width="100%"></iframe>
</body>
</html>
----Untitled-1.htm------------
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>Folders</title></head>
<body >
<input type="button" name="Button" value="Button" onclick="parent.title='大海'">
</body>
</html>如果我要通过Untitled-1.htm文件中的onclick事件改变main.htm文件的title的值,怎么写代码?
this.title="大海的字符串";
</script>