RE: Javascript onfocus issuein IE and struts 1.2.x

2007-01-11 Thread Dave Newton
From: Don Don [mailto:[EMAIL PROTECTED] > Hum...its strange am looking to see if struts has got anything to do > with it, or if setting a field to obtain the focus automatically when > the form is loaded has any effect on how the rest of the fields deal > with focus etc. > > Dave Newton <[EMAIL PR

RE: Javascript onfocus issuein IE and struts 1.2.x

2007-01-11 Thread Don Don
Hum...its strange am looking to see if struts has got anything to do with it, or if setting a field to obtain the focus automatically when the form is loaded has any effect on how the rest of the fields deal with focus etc. Dave Newton <[EMAIL PROTECTED]> wrote: From: Frank W. Zammetti [mailto

RE: Javascript onfocus issuein IE and struts 1.2.x

2007-01-11 Thread Dave Newton
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] > This is working for me just fine, IE 6 and 7 anyway. Works for me too, IE 6 and 7. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

Re: Javascript onfocus issuein IE and struts 1.2.x

2007-01-11 Thread Frank W. Zammetti
I see you guys were two posts ahead of me while I typed my last reply :) On the same wavelength though. If you just throw a simple alert(''); in the event handler instead, in the fullblown Struts version, do you get the popup as expected? I'm grasping at the same pack of straws Christopher is, j

Re: Javascript onfocus issuein IE and struts 1.2.x

2007-01-11 Thread Frank W. Zammetti
Hmm, curious... I just tried the following: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> This is working for me just fine, IE 6 and 7 anyway. I also tried changing onfocus to onFocus, and it still worked. I definitely would have been with Christopher in thinking doctype was the culpr

Re: Javascript onfocus issuein IE and struts 1.2.x

2007-01-11 Thread Don Don
Hi I noticed it working in an html only environment (i.e. not struts) when struts is applied it fails to work still only in IE Christopher Schultz <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Don, Don Don wrote: > in IE (all versions from 5 to 7) this just does not

Re: Javascript onfocus issuein IE and struts 1.2.x

2007-01-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Don, Don Don wrote: > in IE (all versions from 5 to 7) this just does not work. I tried this exact file in MSIE 6.0.2900.2180 and it works just fine (after you tell MSIE that it's okay to run scripts from a file you grabbed off your own disk): http:

Re: Javascript onfocus issuein IE and struts 1.2.x

2007-01-11 Thread Don Don
Hi guys here's what am tryin to do in IE (all versions from 5 to 7) this just does not work. Maybe as Chris said it has to do with the doc type, here's the doctype am using http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> What could be wrong ? "Frank W. Zammetti" <[EMAIL PROTECTED]> wr

Re: Javascript onfocus issuein IE and struts 1.2.x

2007-01-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Frank, Frank W. Zammetti wrote: > In which version of IE do you observe this behavior? I just verified in > IE 5.5, 6 and 7 that onfocus with a lower-case 'f' works just fine. Just out of curiosity, what DOCTYPE were you guys using? I know that XHT

Re: Javascript onfocus issuein IE and struts 1.2.x

2007-01-11 Thread Frank W. Zammetti
Hi Don, In which version of IE do you observe this behavior? I just verified in IE 5.5, 6 and 7 that onfocus with a lower-case 'f' works just fine. AFAIK, case does not matter to any browser with event handler names, whether Struts is involved or not... any chance the problem your seeing is caus

Javascript onfocus issuein IE and struts 1.2.x

2007-01-11 Thread Don Don
Hi all, I've noticed an issue with the above versions of struts and the javascript onfocus function when using IE. Struts uses the function in lower case (e.g. "onfocus()") and even renders the generated code in lower case as well, IE on the other hand requires the function to be in this f