开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜