select-javacsript
来源:互联网 发布:湖南网络公关 编辑:程序博客网 时间:2024/04/30 06:51
<html>
<body>
<span style="position:absolute;border:1pt solid #c1c1c1;overflow:hidden;width:188px;
height:19px;clip:rect(-1px 190px 190px 170px);">
<select name="makeupCoSe" id="makeupCoSe" style="width:190px;height:20px;margin:-2px;" onChange="changeF();">
<option id='1' value='java'>java</option>
<option id='2' value='c++'>c++</option>
<option id='3' value=php>php</option>
<OPTION id="99999" VALUE="" SELECTED>
</select>
</span>
<span style="position:absolute;border-top:1pt solid #c1c1c1;border-left:1pt
solid #c1c1c1;border-bottom:1pt solid #c1c1c1;width:170px;height:19px;">
<input type="text" name="makeupCo" id="makeupCo" value="请选择或输入" style="width:170px;height:15px;border:0pt;">
</span>
</body>
</html>
<script language="javascript">
function changeF()
{
document.getElementById('makeupCo').value=
document.getElementById('makeupCoSe').options[document.getElementById('makeupCoSe').selectedIndex].value;
}
</script>
- select-javacsript
- flash与javacsript交互
- japplet到javacsript的 发展
- javacsript判读文本框输入剩余字数
- javacsript中call() 函数的认识
- ArcGIS API For Javacsript编辑客户端图形
- 使用简单的html+css+javacsript实现dialog功能
- (十一)ArcGIS API For Javacsript编辑客户端图形
- javacsript绑定事件的三种方式与各自特点
- javacsript绑定事件的三种方式与各自特点
- select()
- select
- select
- select
- select
- select
- select
- select
- 初略了解了下P2P技术
- css 嵌入字体
- Linux 系统服务开机启动
- xml解析
- SQL语句过长换行问题!
- select-javacsript
- [JAVASCRIPT] this 对象
- 设计模式
- 海盗分金
- 我的智商只有76
- Myeclipse7.0注册码及注册机的源代码
- Myeclipse 5.1 注册码算法
- 事务在C#.NET中的使用
- MyEclipse6.0中使用aptana插件,添加jquery提示功能