A
|
aeaton2017 author 1/14/2024 |
That field was readonly, so that was the reason it did not copy.. So I had to modify the js to alter the phone number to meet the custmer request. var text = $("#value_phone_1").val(); // Remove the first two characters // Set the modified text back to the element (optional, depends on your use case) // Select the text in the element document.execCommand("copy"); $("text.substring(2);").blur(); |
![]() |
fhumanes 1/14/2024 |
Hello, The copy to the clipboard I have implemented in this example: The final code that makes the copy (associated with a button) is: var path = result["path"]; Greetings, |