Hi,
I'm trying to create a modal calendar picker form which will be called from another form.
To make the form modal, I'm trying to put the following in the body tag:
<body onblur="this.widow.focus();">
However, Visual Studio 2005 gives me the following error:
Validation (XHTML 1.0 Transitional):
Attribute 'onblur' is not a valid attribute of element 'body'.
This method of making the form/window modal definitely works in classic ASP and I've seen literally hundreds of examples for ASP.Net using this method.
Anyone any idea where I'm going wrong?
There's an example of what I'm trying to do here:
http://www.15seconds.com/issue/040315.htmAn example of a working modal window is here:
http://codepunk.hardwar.org.uk/ajs04.htmThanks.
Matt.