Forum Moderators: open
onFocus="this.value=''; this.onfocus=null;"
So I guess I found it after all. Thanks for all who responded.
One thing about this method is that it alerts IE that something may be awry with the page. The user has to "click" to allow content. It's just simple javascript, so what's the big deal with IE?
One thing about this method is that it alerts IE that something may be awry with the page. The user has to "click" to allow content. It's just simple javascript, so what's the big deal with IE?
...as with any JavaScript you are trying to run locally, offline - it's a 'security' warning. If you upload your page to a webserver you will not get this message.
Alternatively, to run your content locally without the warning, you can add a "Mark of the Web" (MOTW) to your page, to make it run in a different security zone. This takes the form of an HTML comment you place below the DOCTYPE. The general form is:
<!-- saved from url=(0014)about:internet -->
Google for "MOTW".
Or you can alter the security settings in your browser (Options > Advanced > Allow active content to run in files on My Computer) - unwise.