开发者

how to hide url address in status bar? [duplicate]

开发者 https://www.devze.com 2023-02-11 16:29 出处:网络
This question already has answers here: Closed 11 years ago. Possible Duplicate: JavaScript: Change browser window status message
This question already has answers here: Closed 11 years ago.

Possible Duplicate:

JavaScript: Change browser window status message

When we hover on some link text, the target link is shown in the status bar. How can we hide the link address in the status bar. For example, in following link:

<a href="javascript:$('#fileUpload2'开发者_运维问答).fileUploadStart()">Start Upload</a> 


Try this

<a onClick="javascript:$('#fileUpload2').fileUploadStart()" href="javascript:void(0)">Start Upload</a>`

Only javascript:void(0) will show up in the browser window.

James

0

精彩评论

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