» Share code tạo nút copy cho xtgem
Đây là code nút copy cho xtgem ai cần thì dùng !
<!--parser:xtscript-->
get copy
if $copy == 1
var $textarea = textarea
var $text = Text
var $val = 0
endif
<!--/parser:xtscript-->
<{_$$textarea|pre}>
đoạn văn bản muốn copy để trong đây
</{_$$textarea|pre}>
<!-- The switch button -->
<form action="<xt:url>" method="post">
<input type="hidden" name="copy" value="{_$$val|1}" />
<input type="submit" value="{_$$text|Textarea}" />
</form>
Nguồn: Tao
![^^](https://xtgem.com/images/smilies/smile_mini.gif)
!
Lượt xem:0