Copy to clipboard using jquery?

You have an error on this line:

$temp.val($(value).text()).select();

Since value is already a string, you don’t need to try to get it as an input field. Simply use this:

$temp.val(value).select();

Here’s a working example.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)