开发者

Closing window in javascript

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜