Home > front end >  Consult about returns success in ajax, and then call the clipboard, js replication failure problem!
Consult about returns success in ajax, and then call the clipboard, js replication failure problem!

Time:09-28

Everybody is good:
Is like this, I want to click the button list (btnCopy_ {id}) launched the ajax in the success of the callback function to call another button (btnHidCopy) click event to call the clipboard copy ajax returns a successful data, in apple's ios system WeChat tests pass, ajax after return data, can successfully replicate data, but in android, but copy failed, always return the error function of clibboard content!
which master can help me to find out what is going on, or how to rewrite to be successful in android can copy the data? To be advise, thank you sincerely!
Bottom interface images to see this article!
specific implementation all HTML and javascript code is as follows:

part of the main HTML code:

.
{* loop output a list of "a key copy" button, the button ID name for btnCopy_ ID PHP + cycle smarty template file comment *}


{/section}
.
A key copy button *} {* list
[/color]