<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head><body bgcolor="#FFFFFF" text="#000000">
<script language="javascript">
var s="123456";
var b=s.indexof("6");
document.write b;
</script>
</body>
</html>运行后没有任何数据显示出来。
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head><body bgcolor="#FFFFFF" text="#000000">
<script language="javascript">
var s="123456";
var b=s.indexof("6");
document.write b;
</script>
</body>
</html>运行后没有任何数据显示出来。
解决方案 »
- 问一个关于select的问题?????????
- 学习jsp大家给点提示!
- 请问我这段代码哪错了?
- Bina 求助:各位高手帮帮我吧,快毕业答辩了,我这程序老是出问题啊!java.lang.NullPointerException
- 怎样处理日历?
- 获得时间类的年份和月份?怎么办?
- 一个form参数传递的错误!
- 在线等——如何用TOMCAT发布VAR的网站程序???
- 检测变量是否存在的函数???
- 为什么java很少做C/S
- 关于数据统计时遇到的一个问题,请大家帮助。
- org.apache.catalina.users.MemoryUserDatabaseFactory与org.apache.commons.dbcp.BasicDataSourceFactory的区别
var s="123456";
var b=s.indexof("6");
document.write(b);
</script>