开发者

Closing window in javascript

开发者 https://www.devze.com 2023-03-23 21:57 出处:网络
I am having a visitor fill out and submit a form.If their data includes a skype name, i would like to attempt to launch skype without them clicking on a button to launch it.I thought i could do it by

I am having a visitor fill out and submit a form. If their data includes a skype name, i would like to attempt to launch skype without them clicking on a button to launch it. I thought i could do it by opening a new window with the url of skype:mySkypeName?call, but i cant seem to close the new window (it works fine if the address of the new window is http). Is th开发者_JS百科at possible?


Have you tried opening the url in an invisible iframe? That wouldn't need closing.

0

精彩评论

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

关注公众号