Change Window Status message using JQuery [duplicate]
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
精彩评论