开发者

How to create an email link using document.execCommand in javascript

开发者 https://www.devze.com 2023-02-19 11:59 出处:网络
How to created a email link for the selected text using document.execCom开发者_如何学Pythonmand methodThe following will work:

How to created a email link for the selected text using document.execCom开发者_如何学Pythonmand method


The following will work:

document.execCommand("CreateLink", false, "mailto:someone@example.com");
0

精彩评论

暂无评论...
验证码 换一张
取 消