Entry
To keep date picker on top I used body onblur=self.focus but not able to select Month from combo box
Sep 27th, 2002 06:48
Russ Locke, Raj Patel,
I won't give a code example because this is easy stuff. Declare a
global variable on the page called something like TESTFOCUS = true;
Change the onblur to onblur="if(TESTFOCUS) self.focus();"
In the select tag for the month, set attributes:
onmouseover="TESTFOCUS=false;"
omouseout="TESTFOCUS=true;"
onchange="the stuff you are currently doing; TESTFOCUS=TRUE;"
You may need to stick a couple of "return false;" statements in places
to control the event flow (such as the onchange), you'll figure that
out by trial and error. It really depends on what you have the onchange
doing and how you want the UI events to flow.
Good luck.