Answer the question
In order to leave comments, you need to log in
How to copy text output from Web SQL?
Good afternoon, I ran into a problem.
I made a local Web SQL database, entered 12 records there in the form of small texts.
Then I display it on the page in such a way.
When you click on the button (red pointer), the text that is stored in the field (green arrow) should be written to the buffer, tobish copy. But everything would be fine, it does not want to copy it either.
I tried to statically install one entry
. Here it copies everything as it should, without problems.
How to make it so that after output from local storage, you could copy the text
Answer the question
In order to leave comments, you need to log in
put a callback on the button after rendering the DOM.
$(function(){
// твой колбек
})
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question