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

得到jQuery detach()后節(jié)點中的某個值實現(xiàn)代碼

 更新時間:2013年02月05日 10:37:23   作者:  
需要jQuery -detach 后的dom 結(jié)構(gòu)或某個值,如何獲取到呢?一直困惑著我們,不過本文將為大家解開疑惑,感興趣的朋友可以了解下,或許本文對你有所幫助
需要jQuery -detach 后的dom 結(jié)構(gòu)或某個值 。
復制代碼 代碼如下:

<body>
<input type="text" value="test" name="showtime" id="showtime" />
<input type="button" onclick='showDetach();'/>
</body>
<script type="text/javascript">
var obj = '';
setTimeout(function(){
obj=jQuery("#showtime").detach() ; // 需要用jquery轉(zhuǎn)換一下。
},1000) ;

function showDetach(){
alert(jQuery(obj).val()) ;
}
</script>
</body>

相關(guān)文章

最新評論