[Proto-Scripty] Re: Ajax.Updater output garbled only on iPhone first load
Is the response header `Content-Type` always properly set? (e.g. Content-Type: text/html;charset=UTF-8) -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To view this discussion on the web visit https://groups.google.com/d/msg/prototype-scriptaculous/-/UvAHoBag7zsJ. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
[Proto-Scripty] RE: Ajax.Updater output garbled only on iPhone first load
This turned out to be a page loading/timing issue. The original poster resolved it by switching from document.observe('dom:loaded… to Event.observe(window,'load'… Brian Marquis | Quotepro® | Senior Developer | mailto:b...@quotepro.com b...@quotepro.com | Phone: 312.654.8045 x122 / Fax: 312.654.1285 image001 The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. Access to this e-mail by anyone else is unauthorized. From: Victor [mailto:vkhomyac...@gmail.com] Sent: Wednesday, April 04, 2012 3:49 AM To: prototype-scriptaculous@googlegroups.com Cc: Brian Marquis Subject: Re: Ajax.Updater output garbled only on iPhone first load Is the response header `Content-Type` always properly set? (e.g. Content-Type: text/html;charset=UTF-8) -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. image001.png
[Proto-Scripty] Re: Ajax.Updater output garbled only on iPhone first load
On Apr 4, 8:49 am, Brian Marquis br...@quotepro.com wrote: This turned out to be a page loading/timing issue. The original poster resolved it by switching from document.observe('dom:loaded… to Event.observe(window,'load'… Yes, thanks very much to Brian for helping me resolve the garbled load issue. That being said, I'd also appreciate any ideas anyone might have as to why the Ajax.Updater loads are garbled on the iPhone (and nowhere else) if I only wait for the DOM to load rather than the whole page. I don't understand why the ajax loads need to have all the images loaded to work - doesn't make any sense to me. Does dom:loaded not trigger correctly on the iPhone or something? I'd also prefer. if possible, to go back to triggering the ajax loads based on the DOM load so the user doesn't have to wait so long before the page is ready. It's definitely a drag to degrade the overall performance of the page to fix an iPhone only problem. Thanks again to everyone who's offered advice. -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.