开发者

Change Window Status message using JQuery [duplicate]

This question already has answers here: How to dis开发者_运维问答play text in the browser status bar? (6 answers) Closed 9 years ago.

I wish to change the message on the status Bar of the IE Browser when my home page loads. I need to do this using JQuery. I am using MVC 3.

I have tried to use Window.Status inside JQuery but I keep getting JS Errors. Kindly advice.


 window.status = "my status";

Also, Quoting MDN

This property does not work in default configuration of Firefox and some other browsers: setting window.status has no effect on the text displayed in the status bar. To allow scripts change the the status bar text, the user must set the dom.disable_window_status_change preference to false in the about:config screen.


The status property does not work in the default configuration of IE, Firefox, Chrome, or Safari. To allow scripts to change the text of the status, the user must set the dom.disable_window_status_change preference to false in the about:config screen. (or in Firefox: "Tools - Options - Content -Enable JavaScript / Advanced - Allow scripts to change status bar text").


window.status = "hello!";

do not capitalize them

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜