In Internet Explorer, the maximum length of window.returnValue is 4096 characters. This limit is imposed by the underlying Windows operating system, which restricts the length of data that can be passed between processes.
In other modern browsers, such as Chrome, Firefox, and Edge, there is no specific limit on the length of window.returnValue. However, there may be practical limits imposed by the amount of memory available in the browser, the size of the data being returned, and other factors.
It’s worth noting that the use of window.returnValue is specific to Internet Explorer and is not part of the standard DOM specification. Modern browsers provide other mechanisms for passing data between windows and frames, such as the window.postMessage() method, which is more flexible and secure.
- - Adding and removing content in jQuery
- - Can I change the Dojo namespace to something other than dojo
- - How can I upload files asynchronously with jQuery
- - How do you capture mouse events in firefox
- - How to auto-size an iFrame