亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

jQuery添加和刪除輸入文本框標(biāo)簽代碼

 更新時(shí)間:2016年05月20日 14:00:47   作者:roucheng  
本文是基于jquery代碼實(shí)現(xiàn)的添加和刪除輸入文本框標(biāo)簽代碼,非常不錯(cuò),具有參考借鑒,需要的朋友一起看下吧

先給大家展示效果圖,如果大家覺得還不錯(cuò),請(qǐng)繼續(xù)參考實(shí)現(xiàn)代碼。

廢話不多說了,直接給大家貼代碼了。

代碼如下:

<!DOCTYPE html>
<html>
<head>
<title>jquery刪除添加輸入文本框</title><base target="_blank" />
<meta charset="utf-8">
<link rel="stylesheet" type="text/css"  />
<style>.hovertreeinfo{clear:both;text-align:center;}.hovertreeinfo a{color:blue}.hovertreebd{display:inline-block;width:336px;height:280px;}</style>
</head>
<body>
<div class="site">
<div class="title">標(biāo)簽:</div>
<div class="tip">
<div class="tip-container"><span class="jia"></span>添加標(biāo)簽</div>
</div>
</div>
<div class="hovertreeinfo">
<input type="button" value="獲取全部值" id="hovertreeall" />
<br />
<span id="hovertreeresult"></span>
<br />
<a >原文</a> <a >首頁</a> <a >特效</a>
</div>
<script type="text/javascript" src="http://down.hovertree.com/jquery/jquery-1.12.3.min.js"></script>
<script type="text/javascript" src="http://hovertree.com/texiao/jquery/67/js/tip.js"></script>
<script>
$("#hovertreeall").on("click", function () {
$("#hovertreeresult").html("<br />");
$(":input.house-tip").each(
function () {
// alert($(this).val());
$("#hovertreeresult").append($(this).val()+"<br />");
}
)
})
</script>
</body>
</html>

以上所述是小編給大家介紹的jQuery添加和刪除輸入文本框標(biāo)簽代碼的相關(guān)知識(shí),希望對(duì)大家有所幫助,如果大家有任何疑問請(qǐng)給我留言,小編會(huì)及時(shí)回復(fù)大家的。在此也非常感謝大家對(duì)腳本之家網(wǎng)站的支持!

相關(guān)文章

最新評(píng)論