Hey Matthew, 2011/2/21 Matthew Sherborne <[email protected]>: > Hi guys, > I read in the WFileUpload docs that konqueror and some other browsers don't > support the 'on change' notification.
That's true. ASFAIK, it only applies to konqueror (and perhaps other less used browsers). > Is there a way I can detect this ? Perhaps create an invisible file upload > and set some bogus filename in there, and see if the signal is triggered, or > would it all go through on server side, regardless of the browser.. > Is it possible just to read the incoming request headers, to get the browser > info out of it ? Asfaik, there is no way to find out (especially not with a file upload, since these controls are very restrictive on what you can do from JavaScript, for good (security) reasons). You can get the browser information from environment().agent() and environment().userAgent(). But you can't do much wrong by always providing a fallback button ? Regards, koen ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
