
Originally Posted by
whiteknight
Hi John
There is no error showing NOTHING AT ALL I have a blank page or rather as I said in my first coms only the:
<input type="button" onClick="alert(this.form.orderdate.value)" value="Show date value passed"> SHOWS
The calendar date system DOESN'T!
Regards
Bob
Sounds like you are being 'protected' from local active X. Usually there is a prompt at the top of the page with instructions as to how to allow the content. In your configuration, you may have this prompt turned off and set to 'disabled' instead.
This is all meant to protect you from malicious scripts but has the side affect of preventing trusted local javascript from running.
Here is a fix if this is the problem:
That only happens locally, as a security measure. As far as IE is concerned, javascript is ActiveX. Click on the bar and click on allow and click on yes. Once your page is live, this will not happen. You can also give your page 'the mark of the web'. That way (in most cases) it will not display the security bar locally either. Put this right after your <html> tag like so:
Code:
<html>
<!-- saved from url=(0014)about:internet -->
<!-- this and above comment should be removed for live, non-demo use -->
<head>
But, navigating away from the page to another local page, or including another local page on it via a frame or an iframe can be problematical if said page does not also have 'the mark of the web' on it.
Bookmarks