EnesCanturk adlı üyeden alıntı: mesajı görüntüle
Birkaç saate bilgisayara geçeceğim. O zaman tekrar bakayım.

Sorun çözülürse bu mesajı beğenirsiniz.
EnesCanturk adlı üyeden alıntı: mesajı görüntüle
<div class="input">
<input type="text" readonly id="input-url" value="<?php  $Path=$_SERVER['REQUEST_URI']; $siteurl= site_url(); echo $URI= $siteurl.$Path;  ?>">
<button type="button" onclick="copy('input-url')">Kopyala</button>
function copy(id) {
document.getElementById(id).select();
document.execCommand('copy');
notification('Successfully copied.'); }
Hocam ben böyle yapabildim.
Çalışıyor bu hocam, input'u gizleyemez miyim? hidden verince ya da CSS'den display: none; verince çalışmaz hale geliyor ne yazık ki.