jquery 实现input输入什么div图层显示什么
<html>
<metacharset="utf-8"/>
<style>
.ppp{
width:600px;
height:300px;
background-color:pink;
}
</style>
<inputtype="text"id="ttt"name=""value=""maxlength=""placeholder=""/><br/><br/><br/>
<div></div><!---->
<scriptsrc="jquery-1.7.2.min.js"></script>
<script>
$("document").ready(function(){
$("#ttt").keyup(
function(){$(".ppp:first").html(this.value)}
)
});
</script>
</html>
热门推荐
10 毛笔哥哥结婚祝福语简短
11 向国庆送祝福语简短
12 建队节祝福语简短
13 朋友喜得外孙简短祝福语
14 小店营业的祝福语简短
15 餐饮生日祝福语简短独特
16 鲜花英语祝福语卡片简短
17 男朋友暴富祝福语简短
18 婶婶拜年祝福语大全简短